@hackage cabalg0.2.3

alias for cabal install from given git repo

Short alias for installing cabal package from git source repository.

I.e.

$> cabalg https://github.com/biegunka/biegunka

is just a shorthand for

$> mktemp
$> git clone --single-branch --depth=1 --quiet https://github.com/biegunka/biegunka <tempdirname>
$> cabal install tempdirname/cabalfilename

It also supports arbitrary git revisions mentioning like

$> cabalg https://github.com/biegunka/biegunka@beefboa

Necessary arguments could be passed to 'cabal install' with -- delimiter like

$> cabalg <repo1> ... <repoN> [-- <cabal-install args>]

Please notice, that '--single-branch' flag comes with git-1.7.10 (https://lkml.org/lkml/2012/3/28/418) and later, so you probably want to have it.

It's supposed to be Windows-compatible.