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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 2013-12-23T20:52:25Z
Distributions NixOS:0.2.9
Reverse Dependencies 1 direct, 0 indirect [details]
Executables cabalg
Downloads 10304 total (35 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-12-11 [all 8 reports]