Sat Aug 15 18:40:17 PDT 2009 Thomas Schilling
* Add --html for haddock command.
This makes it easier to build both html documentation and a hoogle
database:
./setup haddock [--html] # build only HTML docs (default)
./setup haddock --hoogle # build only Hoogle DB
./setup haddock --hoogle --html # build both
M ./Distribution/Simple/Haddock.hs -8 +17
M ./Distribution/Simple/Setup.hs +9
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Sat Jan 29 10:26:23 PST 2011 Duncan Coutts
* Relax QA check on test-suite sections to require only Cabal 1.8
Only Cabal-1.10 and later can use test suites. Versions of Cabal prior
to 1.8 actually barf on test-suite sections, while Cabal-1.8 will
ignore these sections with a warning. Previously the QA check enforced
that packages with test-suite section specify 'cabal-version: >= 1.10'
but strictly speaking we only need to require 'cabal-version: >= 1.8'.
This relaxation allows people to write packages using test suites such
that people using Cabal-1.8 will be able to build and install the
package, just not run the test suite. Clear as mud?
M ./Distribution/PackageDescription/Check.hs -4 +6
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Mon Jan 10 09:42:27 PST 2011 Thomas Tuegel
* Tracking enabled/disabled TestSuites in PackageDescription.
This patch adds the 'testEnabled' field to TestSuite. It's
undesirable to track build status information in the static package
description, but there is no better solution at this time. This
patch has the side-effect of fixing several TODOs in
Distribution.Simple.Configure.
M ./Distribution/PackageDescription.hs -5 +17
M ./Distribution/PackageDescription/Configuration.hs -5 +10
M ./Distribution/PackageDescription/PrettyPrint.hs -2 +2
M ./Distribution/Simple/Configure.hs -23 +8
M ./Distribution/Simple/Test.hs -5 +19
M ./tests/PackageTests/TestStanza/Check.hs -35 +13
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Mon Jan 10 23:30:13 PST 2011 Johan Tibell
* Allow name template in --test-option and --test-options
Only $test-suite is supported for now.
M ./Distribution/Simple/Setup.hs -5 +9
M ./Distribution/Simple/Test.hs -1 +11
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Tue Jan 11 02:19:57 PST 2011 Johan Tibell
* Support more placeholders in --test-option[s] template
Now supports $pkgid, $compiler, $os, $arch, and $test-suite.
M ./Distribution/Simple/Setup.hs -2 +4
M ./Distribution/Simple/Test.hs -7 +14
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Sat Jan 29 12:48:34 PST 2011 Duncan Coutts
* Get the mapTreeData util from the right place
Originally Thomas had moved them to Distribution.PackageDescription
but I'm rather of the opinion that the functions (and the data
structure) that they manipluate is ugly and I'd rather keep them
hidden away in a less public module.
M ./Distribution/Simple/Configure.hs -2 +2
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Sat Jan 29 12:51:03 PST 2011 Duncan Coutts
* Export a bunch of utils for package configurations
M ./Distribution/PackageDescription/Configuration.hs +4
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...