Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
e65fe1f2
Commit
e65fe1f2
authored
Mar 11, 2016
by
Mikhail Glushenkov
Committed by
Edward Z. Yang
Mar 29, 2016
Browse files
Don't use './Setup' for building 'cabal-install'.
parent
40d6f0af
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
e65fe1f2
...
...
@@ -69,17 +69,14 @@ script:
-
cd ../cabal-install
-
../Cabal/misc/gen-extra-source-files.sh cabal-install.cabal
-
../Cabal/misc/travis-diff-files.sh
-
mkdir -p ./dist/setup
-
cp Setup.hs ./dist/setup/setup.hs
-
ghc --make -odir ./dist/setup -hidir ./dist/setup -i -i. ./dist/setup/setup.hs -o ./dist/setup/setup -Wall -Werror -threaded
# the command cabal-install would use to build setup
-
cabal install happy
-
cabal install --only-dependencies --enable-tests --enable-benchmarks
-
./dist/setup/setup
configure --user --ghc-option=-Werror --enable-tests --enable-benchmarks -v2
# -v2 provides useful information for debugging
-
./dist/setup/setup
build
-
./dist/setup/setup
haddock
# see https://github.com/haskell/cabal/issues/2198
-
./dist/setup/setup
test unit-tests --show-details=streaming --test-option=--hide-successes
-
./dist/setup/setup
test integration-tests --show-details=streaming --test-option=--hide-successes
-
cabal
configure --user --ghc-option=-Werror --enable-tests --enable-benchmarks -v2
# -v2 provides useful information for debugging
-
cabal
build
-
cabal
haddock
# see https://github.com/haskell/cabal/issues/2198
-
cabal
test unit-tests --show-details=streaming --test-option=--hide-successes
-
cabal
test integration-tests --show-details=streaming --test-option=--hide-successes
-
cabal check
-
./dist/setup/setup sdist
-
install_from_tarball
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment