Created
November 24, 2013 12:40
-
-
Save Tehnix/7626851 to your computer and use it in GitHub Desktop.
Compile HsCMS and throw it over to keter
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/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