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.

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

is just a shorthand for

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

If current directory has '.cabal-sandbox', 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) only, so you should have it.

It seems to be that cabalg is windows-compatible too.

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:23:04Z
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]