Created
August 19, 2014 00:47
-
-
Save sw17ch/6bb85aa258bc0b75bb4a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| CORE="cauterize-core" | |
| OTHER="cauterize cauterize-test caut-c11-synchronous caut-hs2010-synchronous" | |
| REPOS="$CORE $OTHER" | |
| PREFIX="git@gitlab.com:cauterize/" | |
| POSTFIX=".git" | |
| mkdir -p cauterize-env/sandbox | |
| cd cauterize-env/sandbox | |
| cabal sandbox init --sandbox=. | |
| # cabal install mtl-2.2.1 parsec-3.1.5 --force-reinstalls | |
| cd .. | |
| for i in $REPOS; | |
| do | |
| git clone $PREFIX$i$POSTFIX; | |
| done | |
| for i in $OTHER; | |
| do | |
| cd $i | |
| cabal sandbox init --sandbox=../sandbox | |
| cabal sandbox add-source ../$CORE | |
| cd .. | |
| done | |
| # for i in $REPOS; | |
| # do | |
| # cd $i | |
| # cabal install | |
| # cd .. | |
| # done | |
| echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment