cabalg: alias for cabal install from given git repo

[ library, mit, program, unclassified ] [ Propose Tags ]

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.

Versions [faq] 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9
Dependencies base (>=4.6 && <5), directory (>=1.2), filepath (>=1.3), optparse-applicative (>=0.7.0.2), process (>=1.2), temporary (>=1.1.2.4) [details]
License MIT
Author Dmitry Malikov
Maintainer malikov.d.y@gmail.com
Source repo head: git clone https://github.com/dmalikov/cabalg
Uploaded by DmitryMalikov at Mon Dec 23 20:52:25 UTC 2013
Distributions NixOS:0.2.9
Executables cabalg
Downloads 8303 total (443 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2015-12-11 [all 8 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees