Skip to content

Instantly share code, notes, and snippets.

@pbrisbin
Created March 11, 2016 20:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbrisbin/d9b81109f159cc1eff7f to your computer and use it in GitHub Desktop.
Save pbrisbin/d9b81109f159cc1eff7f to your computer and use it in GitHub Desktop.
dependencies:
cache_directories:
- "~/.stack"
pre:
- wget https://github.com/commercialhaskell/stack/releases/download/v0.1.6.0/stack-0.1.6.0-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
- tar xvzOf /tmp/stack.tar.gz stack-0.1.6.0-linux-x86_64/stack > /tmp/stack
- chmod +x /tmp/stack && sudo mv /tmp/stack /usr/bin/stack
override:
- stack setup
- stack build --dependencies-only --test
test:
override:
- stack test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment