Skip to content

Instantly share code, notes, and snippets.

@Tehnix
Created November 24, 2013 12:40
Show Gist options
  • Save Tehnix/7626851 to your computer and use it in GitHub Desktop.
Save Tehnix/7626851 to your computer and use it in GitHub Desktop.
Compile HsCMS and throw it over to keter
#!/bin/bash -ex
cd /home/tehnix/slight/repos/Tehnix/HsCMS
.cabal/bin/cabal-dev clean
.cabal/bin/cabal-dev configure
.cabal/bin/cabal-dev install
.cabal/bin/cabal-dev build
strip dist/build/HsCMS/HsCMS
rm -rf static/tmp/
tar czfv HsCMS.keter dist/build/HsCMS/HsCMS config static
mv HsCMS.keter /opt/keter/incoming/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment