cabalg-0.2.9: cabalg.cabal
name: cabalg
version: 0.2.9
synopsis: alias for cabal install from given git repo
license: MIT
license-file: LICENSE
author: Dmitry Malikov
maintainer: malikov.d.y@gmail.com
build-type: Simple
cabal-version: >=1.10
description:
'cabalg' is an alias for installing cabal package from a git source repository.
.
E.g.
.
@$ git clone https:\/\/github.com\/author\/foo
$ git clone https:\/\/github.com\/author\/bar
$ cabal install foo\/foo.cabal bar\/bar.cabal baz.cabal
@
.
could be abbreviated by
.
@$ cabalg https:\/\/github.com\/author\/foo https:\/\/github.com\/author\/bar -- biegunka.cabal
@
.
It also supports arbitrary git revisions mentioning like
.
@ $ cabalg https:\/\/github.com\/baz\/quux\@f524f97
@
.
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)
extra-source-files:
CHANGELOG.markdown
executable cabalg
main-is: Main.hs
hs-source-dirs: src
other-modules:
Cabalg.Args
Cabalg.Git
Cabalg.Version
System.Directory.NonExistent
ghc-options: -Wall
default-language: Haskell2010
build-depends:
base >= 4 && < 5
, directory
, filepath
, process
library
hs-source-dirs: src
exposed-modules: System.Directory.NonExistent
other-modules: Cabalg.Git
ghc-options: -Wall
default-language: Haskell2010
build-depends:
base >= 4 && < 5
, directory
, filepath
, process
source-repository head
type: git
location: https://github.com/dmalikov/cabalg
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
default-language: Haskell2010
build-depends:
base >= 4 && < 5
, cabalg
, directory
, filepath
, process
test-suite doctest
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: Doctest.hs
build-depends:
base == 4.*
, doctest