[commit: Cabal] master: Warn about use of tabs (40a1711)
Ian Lynagh
igloo at earth.li
Fri Jun 24 02:00:32 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/40a1711ca9c1245721e346155a519dd096adb00e
>---------------------------------------------------------------
commit 40a1711ca9c1245721e346155a519dd096adb00e
Author: Duncan Coutts <duncan at haskell.org>
Date: Sat Nov 22 15:43:09 2008 +0000
Warn about use of tabs
>---------------------------------------------------------------
cabal-install/cabal-install.cabal | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal
index 34aa2aa..3c3b543 100644
--- a/cabal-install/cabal-install.cabal
+++ b/cabal-install/cabal-install.cabal
@@ -34,7 +34,9 @@ Executable cabal
Main-Is: Main.hs
-- We want assertion checking on even if people build with -O
-- although it is expensive, we want to catch problems early:
- Ghc-Options: -Wall -fno-ignore-asserts
+ ghc-options: -Wall -fno-ignore-asserts
+ if impl(ghc >= 6.8)
+ ghc-options: -fwarn-tabs
Other-Modules:
Distribution.Client.BuildReports.Anonymous
Distribution.Client.BuildReports.Storage
More information about the Cvs-libraries
mailing list