Remove --allow-{newer,older} support from Cabal
[cabal.git] / travis-meta.sh
blob3d16e821a9d07dbcc430a54830bc48cdf735c45f
1 #!/bin/sh
3 . ./travis-common.sh
5 # ---------------------------------------------------------------------
6 # Check that auto-generated files/fields are up to date.
7 # ---------------------------------------------------------------------
9 # Regenerate the CONTRIBUTORS file.
10 # Currently doesn't work because Travis uses --depth=50 when cloning.
11 #./Cabal/misc/gen-authors.sh > AUTHORS
13 # Regenerate the 'extra-source-files' field in Cabal.cabal.
14 (cd Cabal && timed ./misc/gen-extra-source-files.hs Cabal.cabal) || exit $?
16 # Regenerate the 'extra-source-files' field in cabal-install.cabal.
17 (cd cabal-install && ../Cabal/misc/gen-extra-source-files.hs cabal-install.cabal) || exit $?
19 # Fail if the diff is not empty.
20 timed ./Cabal/misc/travis-diff-files.sh