Created
December 31, 2010 12:25
-
-
Save thsutton/760972 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
project="$0" | |
if [ -z "$project" ]; then | |
project="project" | |
fi | |
mkdir "$project" | |
cd "$project" | |
# Create the new cabal-dev sandbox and install snap | |
cabal-dev install snap | |
# Create the new snap project | |
./cabal-dev/bin/snap init | |
# Make sure the sandbox includes all dependencies | |
cabal-dev install-deps | |
# Configure and build the new project | |
cabal-dev configure && \ | |
cabal-dev build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment