git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1050 from hdgarrood/check-sdist
fc4325ePhil Freeman
travis-script.sh+6
@@ -9,3 +9,9 @@ fi
9
9
10cabal build
10cabal build
11cabal test
11cabal test
12+
13+# Check that a source distribution can be successfully generated, and that
14+# the generated source distribution can be installed
15+cabal sdist
16+SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz &&
17+ (cd dist && cabal install --force-reinstalls "$SRC_TGZ")