Don't install from sdist tarballs
This commit is contained in:
parent
a4554b1163
commit
bec401d081
@ -166,8 +166,13 @@ script:
|
|||||||
cd $dir
|
cd $dir
|
||||||
cabal check || [ "$CABALVER" == "1.16" ]
|
cabal check || [ "$CABALVER" == "1.16" ]
|
||||||
cabal sdist
|
cabal sdist
|
||||||
SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \
|
PKGVER=$(cabal info . | awk '{print $2;exit}')
|
||||||
(cd dist && cabal install --force-reinstalls "$SRC_TGZ")
|
SRC_TGZ=$PKGVER.tar.gz
|
||||||
|
cd dist
|
||||||
|
tar zxfv "$SRC_TGZ"
|
||||||
|
cd "$PKGVER"
|
||||||
|
cabal configure --enable-tests
|
||||||
|
cabal build
|
||||||
cd $ORIGDIR
|
cd $ORIGDIR
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user