Added comment in .travis.yml to explain last change.
This commit is contained in:
parent
fa18e3d7e1
commit
a25c565f81
3 changed files with 7 additions and 3 deletions
|
@ -74,7 +74,9 @@ script:
|
|||
- 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:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -34,7 +34,7 @@ dist: man/pandoc.1
|
|||
cd pandoc-${version}
|
||||
cabal configure ${CABALARGS} && cabal build && cabal test && cd .. && rm -rf "pandoc-${version}"
|
||||
|
||||
.travis.yml: pandoc.cabal
|
||||
.travis.yml: pandoc.cabal make_travis_yml.hs
|
||||
runghc make_travis_yml.hs $< > $@
|
||||
|
||||
debpkg: man/pandoc.1
|
||||
|
|
|
@ -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:"
|
||||
|
|
Loading…
Add table
Reference in a new issue