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 https://github.com/biegunka/biegunka

is just a shorthand for

$> mktemp
$> git clone --single-branch --depth=1 --quiet https://github.com/biegunka/biegunka <tempdirname>
$> cabal install tempdirname/cabalfilename

It also supports arbitrary git revisions mentioning like

$> cabalg https://github.com/biegunka/biegunka@beefboa

Necessary arguments could be passed to 'cabal install' with -- delimiter like

$> cabalg <repo1> ... <repoN> [-- <cabal-install args>]

Please 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.

It's supposed to be Windows-compatible (not sure about the tests)

Modules

[Last Documentation]

  • System
    • Directory
      • System.Directory.NonExistent

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 && <5), directory, filepath, process [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 2014-06-15T21:53:39Z
Distributions NixOS:0.2.9
Reverse Dependencies 1 direct, 0 indirect [details]
Executables cabalg
Downloads 10285 total (43 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 2016-12-14 [all 8 reports]