on e01bb2d help sign in
stackage/jenkins-build.sh
22 lines 500 B history raw
1#!/bin/bash -ex
3cabal update
4rm -rf patching/tarballs
5(cd patching/ && ./scripts/create-tarballs.sh)
6cabal install
7cabal install Cabal-$(cabal --version | sed -n 's@using version \(.*\) of the Cabal library@\1@p')
8./dist/build/stackage/stackage select $*
9./dist/build/stackage/stackage check
10./dist/build/stackage/stackage build
11./dist/build/stackage/stackage test
13cabal install http-client --force-reinstalls
15for f in inclusive exclusive
16do
17 cd $f
19 bash create-snapshot.sh
21 cd ..
22done