Created
December 2, 2009 14:59
-
-
Save kowey/247252 to your computer and use it in GitHub Desktop.
This file contains 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 | |
export http_proxy=proxy.brighton.ac.uk:80 | |
cd ${HOME}/darcs.net | |
echo ====================================================================== | |
echo building | |
echo ====================================================================== | |
cabal configure -ftest | |
cabal build | |
echo ====================================================================== | |
echo unit tests | |
echo ====================================================================== | |
dist/build/unit/unit | |
echo ====================================================================== | |
echo darcs check | |
echo ====================================================================== | |
(\ | |
darcs check --test &&\ | |
darcs push -a [email protected]:darcs &&\ | |
cabal haddock --internal --hoogle &&\ | |
rsync -av dist/doc/html/* [email protected]:darcs/api-doc\ | |
) || (echo "THERE WAS A PROBLEM!" ; exit 1) | |
echo ====================================================================== | |
echo done pushing to darcs.net! | |
echo ====================================================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment