git.iko.soy/typeable/pandoc
on master help sign in
Added comment in .travis.yml to explain last change.
commita25c565f81ba9687de215ec9a8437f75ebee85d1 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 9 Oct 2015, 22:33 (11 years ago) parentfa18e3d
3 files changed+7−3
.travis.yml+3−1 Makefile+1−1 make_travis_yml.hs+3−1
.travis.yml+3−1
@@ -74,7 +74,9 @@ script:
7474 - cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)
7575 - cabal test
7676 - cabal check
77− - ./dist/setup/setup sdist # tests that a source-distribution can be generated
77+# Test that a source-distribution can be generated
78+# (with cabal >= 1.18 'cabal sdist' would work too):
79+ - ./dist/setup/setup sdist
7880
7981# Check that the resulting source distribution can be built & installed.
8082# If there are no other `.tar.gz` files in `dist`, this can be even simpler:
Makefile+1−1
@@ -34,7 +34,7 @@ dist: man/pandoc.1
3434 cd pandoc-${version}
3535 cabal configure ${CABALARGS} && cabal build && cabal test && cd .. && rm -rf "pandoc-${version}"
3636
37−.travis.yml: pandoc.cabal
37+.travis.yml: pandoc.cabal make_travis_yml.hs
3838 runghc make_travis_yml.hs $< > $@
3939
4040debpkg: man/pandoc.1
make_travis_yml.hs+3−1
@@ -165,7 +165,9 @@ genTravisFromCabalFile fn xpkgs = do
165165 , " - cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)"
166166 , " - cabal test"
167167 , " - cabal check"
168− , " - ./dist/setup/setup sdist # tests that a source-distribution can be generated"
168+ , "# Test that a source-distribution can be generated"
169+ , "# (with cabal >= 1.18 'cabal sdist' would work too):"
170+ , " - ./dist/setup/setup sdist"
169171 , ""
170172 , "# Check that the resulting source distribution can be built & installed."
171173 , "# If there are no other `.tar.gz` files in `dist`, this can be even simpler:"