aboutsummaryrefslogtreecommitdiff
path: root/make_travis_yml.hs
diff options
context:
space:
mode:
Diffstat (limited to 'make_travis_yml.hs')
-rw-r--r--make_travis_yml.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/make_travis_yml.hs b/make_travis_yml.hs
index 82d328018..91916c499 100644
--- a/make_travis_yml.hs
+++ b/make_travis_yml.hs
@@ -165,7 +165,9 @@ genTravisFromCabalFile fn xpkgs = do
, " - cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)"
, " - cabal test"
, " - cabal check"
- , " - ./dist/setup/setup sdist # tests that a source-distribution can be generated"
+ , "# Test that a source-distribution can be generated"
+ , "# (with cabal >= 1.18 'cabal sdist' would work too):"
+ , " - ./dist/setup/setup sdist"
, ""
, "# Check that the resulting source distribution can be built & installed."
, "# If there are no other `.tar.gz` files in `dist`, this can be even simpler:"