cabalg 0.1.1 → 0.1.2
raw patch · 1 files changed
+14/−11 lines, 1 files
Files
- cabalg.cabal +14/−11
cabalg.cabal view
@@ -1,5 +1,5 @@ name: cabalg-version: 0.1.1+version: 0.1.2 synopsis: alias for cabal install from given git repo license: MIT license-file: LICENSE@@ -10,22 +10,25 @@ description: Short alias for installing cabal package from git source repository. .- @$> cabalg git://github.com/biegunka/biegunka.git --branch=develop@+ 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@+ @$> 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@+ $> 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.+ If current directory is cabal-sandbox\'ed, 'cabalg' will attach the given repo to it. .- It seems to be that 'cabalg' is windows-compatible too.-+ 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. executable cabalg main-is: Main.hs