stackage/jenkins-build.sh
2014-06-16 12:49:08 +03:00

21 lines
467 B
Bash
Executable file

#!/bin/bash -ex
cabal update
(cd patching/ && ./scripts/create-tarballs.sh)
cabal install
cabal install Cabal-$(cabal --version | sed -n 's@using version \(.*\) of the Cabal library@\1@p')
./dist/build/stackage/stackage select --no-platform
./dist/build/stackage/stackage check
./dist/build/stackage/stackage build
./dist/build/stackage/stackage test
cabal install http-client
for f in inclusive exclusive
do
cd $f
bash create-snapshot.sh
cd ..
done