Commit f0c712fb authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Check for cabal-install source-files earlier in build.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 445a7da9
......@@ -18,6 +18,12 @@ cd Cabal
./misc/gen-extra-source-files.sh Cabal.cabal
./misc/travis-diff-files.sh
cd ../cabal-install
../Cabal/misc/gen-extra-source-files.sh cabal-install.cabal
../Cabal/misc/travis-diff-files.sh
cd ../Cabal
# Build the setup script in the same way that cabal-install would:
mkdir -p ./dist/setup
cp Setup.hs ./dist/setup/setup.hs
......@@ -67,8 +73,6 @@ install_from_tarball
# ---------------------------------------------------------------------
cd ../cabal-install
../Cabal/misc/gen-extra-source-files.sh cabal-install.cabal
../Cabal/misc/travis-diff-files.sh
cabal install happy
cabal install --only-dependencies --enable-tests --enable-benchmarks
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment