The cabalg package

[Tags: mit, program]

Short alias for installing cabal package from git source repository.


$> cabalg git:// --branch=develop

is just a shorthand for

$> create-dir /temp/directory
$> git clone --branch develop --single-branch --depth=1 --quiet git:// /temp/directory
$> change-dir /temp/directory
$> cabal install
$> change-dir-back
$> remove-dir /temp/directory

If current directory is cabal-sandbox'ed, cabalg will attach the given repo to it.

Also notice, that --single-branch flag comes with git-1.7.10 ( and later, so you probably want to have it.

Hope it is windows-compatible.


Versions0.1.0, 0.1.1, 0.1.2
Dependenciesbase (>=4.6 && <5), directory (>=1.2), filepath (>=1.3), optparse-applicative (>=, process (>=1.2), temporary (>=
AuthorDmitry Malikov
Source repositoryhead: git clone
Upload dateMon Dec 23 20:52:25 UTC 2013
Uploaded byDmitryMalikov
Downloads198 total (25 in last 30 days)


Maintainers' corner

For package maintainers and hackage trustees