The cabalg package

[Tags: mit, program]

Short alias for installing cabal package from git source repository.

I.e.

$> cabalg git://github.com/biegunka/biegunka.git --branch=develop

is just a shorthand for

$> create-dir /temp/directory
$> git clone --branch develop --single-branch --depth=1 --quiet git://github.com/biegunka/biegunka.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 (https://lkml.org/lkml/2012/3/28/418) and later, so you probably want to have it.

Hope it is windows-compatible.


Properties

Versions0.1.0, 0.1.1, 0.1.2
Dependenciesbase (>=4.6 && <5), directory (>=1.2), filepath (>=1.3), optparse-applicative (>=0.7.0.2), process (>=1.2), temporary (>=1.1.2.4)
LicenseMIT
AuthorDmitry Malikov
Maintainermalikov.d.y@gmail.com
Source repositoryhead: git clone https://github.com/dmalikov/cabalg
Executablescabalg
Upload dateMon Dec 23 20:52:25 UTC 2013
Uploaded byDmitryMalikov
Downloads198 total (25 in last 30 days)

Downloads

Maintainers' corner

For package maintainers and hackage trustees