cabalg 0.1.0 → 0.1.1
raw patch · 1 files changed
+43/−19 lines, 1 files
Files
- cabalg.cabal +43/−19
cabalg.cabal view
@@ -1,23 +1,47 @@-name: cabalg-version: 0.1.0-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+name: cabalg+version: 0.1.1+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:+ Short alias for installing cabal package from git source repository.+ .+ @$> 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 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. + executable cabalg- main-is: Main.hs- hs-source-dirs: src- other-modules: Git, Sandbox+ main-is: Main.hs+ hs-source-dirs: src+ other-modules: Git, Sandbox - build-depends: base >= 4.6 && < 5,- process >= 1.2,- directory >= 1.2,- filepath >= 1.3,- optparse-applicative >= 0.7.0.2,- temporary >= 1.1.2.4+ build-depends:+ base >= 4.6 && < 5+ , process >= 1.2+ , directory >= 1.2+ , filepath >= 1.3+ , optparse-applicative >= 0.7.0.2+ , temporary >= 1.1.2.4 - default-language: Haskell2010+ default-language: Haskell2010++source-repository head+ type: git+ location: https://github.com/dmalikov/cabalg