diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-10-09 22:29:59 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-10-09 22:30:35 -0700 |
commit | fa18e3d7e1ba3c1d7ba3ec101a06b1c03aa40822 (patch) | |
tree | b6efcc99705459c47ed73e5b871ccda145cd1f16 /make_travis_yml.hs | |
parent | d62b1cf180281098c3093a817654d24563c4243d (diff) |
Use dist/setup/setup/sdist instead of cabal sdist.
This should help with older versions of cabal which
can't handle custom preprocessors.
See
http://stackoverflow.com/questions/16256987/haskell-packaging-cabal-package-with-custom-preprocessors
Diffstat (limited to 'make_travis_yml.hs')
-rw-r--r-- | make_travis_yml.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make_travis_yml.hs b/make_travis_yml.hs index c01e8e0c9..82d328018 100644 --- a/make_travis_yml.hs +++ b/make_travis_yml.hs @@ -165,7 +165,7 @@ genTravisFromCabalFile fn xpkgs = do , " - cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)" , " - cabal test" , " - cabal check" - , " - cabal sdist # tests that a source-distribution can be generated" + , " - ./dist/setup/setup sdist # tests that a source-distribution can be generated" , "" , "# 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:" |