From 7eabc7c93ca941f4fa7ddaafe71b7bb21ae6eead Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Tue, 28 Apr 2015 21:55:05 +0200 Subject: Add `compiler-version` command The compiler version in setup-config's header is the one Cabal was compiled with not the one that was configured for. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 1448588..5d2f059 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,5 +24,5 @@ script: - if [ -n "$(ghc --version | awk '{ print $8 }' | sed -n '/^7.8/p')" ]; then export WERROR="--ghc-option=-Werror"; fi - cabal configure --enable-tests $WERROR - cabal build - - ./dist/build/cabal-helper-wrapper/cabal-helper-wrapper dist + - ./dist/build/cabal-helper-wrapper/cabal-helper-wrapper dist "compiler-version" "entrypoints" "source-dirs" "ghc-options" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" # - cabal test -- cgit v1.2.3