Skip to content

Commit

Permalink
Fix for Travis megarepo builds
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed May 25, 2016
1 parent 4b1b309 commit f627710
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2017,8 +2017,13 @@ script:
cd $dir
cabal check || [ "$CABALVER" == "1.16" ]
cabal sdist
SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \
(cd dist && cabal install --force-reinstalls "$SRC_TGZ")
PKGVER=$(cabal info . | awk '{print $2;exit}')
SRC_TGZ=$PKGVER.tar.gz
cd dist
tar zxfv "$SRC_TGZ"
cd "$PKGVER"
cabal configure --enable-tests
cabal build
cd $ORIGDIR
done
;;
Expand Down

0 comments on commit f627710

Please sign in to comment.