Do not create folders when failing on no .project or .cabal file
[cabal.git] / travis-meta.sh
blobf172db4942d787a5c95de2265b4f7c2a891132c9
1 #!/bin/sh
3 . ./travis-common.sh
5 export PATH=/opt/cabal/head/bin:$PATH
7 # ---------------------------------------------------------------------
8 # Check that auto-generated files/fields are up to date.
9 # ---------------------------------------------------------------------
11 # Regenerate the CONTRIBUTORS file.
12 # Currently doesn't work because Travis uses --depth=50 when cloning.
13 #./Cabal/misc/gen-authors.sh > AUTHORS
15 # Regenerate files
16 timed make gen-extra-source-files
18 # Fail if the diff is not empty.
19 timed ./Cabal/misc/travis-diff-files.sh