git.iko.soy/typeable/pandoc
on master help sign in
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

commitfa18e3d7e1ba3c1d7ba3ec101a06b1c03aa40822 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 9 Oct 2015, 22:29 (11 years ago) parentd62b1cf
2 files changed+2−2
.travis.yml+1−1 make_travis_yml.hs+1−1
.travis.yml+1−1
@@ -74,7 +74,7 @@ script:
7474 - cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)
7575 - cabal test
7676 - cabal check
77− - cabal sdist # tests that a source-distribution can be generated
77+ - ./dist/setup/setup sdist # tests that a source-distribution can be generated
7878
7979# Check that the resulting source distribution can be built & installed.
8080# If there are no other `.tar.gz` files in `dist`, this can be even simpler:
make_travis_yml.hs+1−1
@@ -165,7 +165,7 @@ 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− , " - cabal sdist # tests that a source-distribution can be generated"
168+ , " - ./dist/setup/setup sdist # tests that a source-distribution can be generated"
169169 , ""
170170 , "# Check that the resulting source distribution can be built & installed."
171171 , "# If there are no other `.tar.gz` files in `dist`, this can be even simpler:"