Skip to content

Instantly share code, notes, and snippets.

@notae
Created September 19, 2014 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notae/34b56c15caf54725cbc2 to your computer and use it in GitHub Desktop.
Save notae/34b56c15caf54725cbc2 to your computer and use it in GitHub Desktop.
Script to setup sandbox for music-suite
#!/bin/sh -xe
WORKDIR=~/Documents/Haskell
MWORKDIR=~/Documents/Haskell/music-suite
cabal sandbox delete
cabal sandbox init
cabal sandbox add-source \
${WORKDIR}/cpfd \
${WORKDIR}/muse \
${MWORKDIR}/music-suite \
${MWORKDIR}/music-dynamics-literal \
${MWORKDIR}/music-pitch-literal \
${MWORKDIR}/abcnotation \
${MWORKDIR}/musicxml2 \
${MWORKDIR}/lilypond \
${MWORKDIR}/music-score \
${MWORKDIR}/music-pitch \
${MWORKDIR}/music-dynamics \
${MWORKDIR}/music-articulation \
${MWORKDIR}/music-parts \
${MWORKDIR}/music-preludes
cabal configure --enable-tests
cabal install --enable-test --only-dep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment