Wed Oct 12 13:16:04 PDT 2011 Johan Tibell
* Add package checks for benchmarks
Refactor duplicate names check to avoid having to manually write all
O(n^2) possible collision cases between executables, test suites, and
benchmarks.
M ./Cabal/Distribution/PackageDescription/Check.hs -20 +56
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Thu Oct 13 15:56:15 PDT 2011 Johan Tibell
* Implement 'cabal bench' command
The only implement benchmark interface so far is exitcode-stdio-1.0,
which forwards the output of the benchmark executable being run to the
parent process' stdout/stderr.
M ./Cabal/Cabal.cabal +1
M ./Cabal/Distribution/Simple.hs -2 +28
A ./Cabal/Distribution/Simple/Bench.hs
M ./Cabal/Distribution/Simple/InstallDirs.hs -1 +4
M ./Cabal/Distribution/Simple/Setup.hs +62
M ./Cabal/Distribution/Simple/UserHooks.hs -3 +14
M ./Cabal/Distribution/Simple/Utils.hs +10
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Thu Oct 13 16:21:09 PDT 2011 Johan Tibell
* Add unit test for 'cabal bench' command-line flags
A ./Cabal/tests/PackageTests/BenchmarkOptions/
A ./Cabal/tests/PackageTests/BenchmarkOptions/BenchmarkOptions.cabal
A ./Cabal/tests/PackageTests/BenchmarkOptions/Check.hs
A ./Cabal/tests/PackageTests/BenchmarkOptions/Setup.hs
A ./Cabal/tests/PackageTests/BenchmarkOptions/test-BenchmarkOptions.hs
M ./Cabal/tests/PackageTests/PackageTester.hs -1 +15
M ./Cabal/tests/suite.hs -2 +4
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Thu Oct 13 16:28:47 PDT 2011 Johan Tibell
* Fail gracefully if 'cabal bench' is run before 'cabal build'
M ./Cabal/Distribution/Simple/Bench.hs +7
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...
Sun Oct 23 14:39:24 PDT 2011 Duncan Coutts
* Bump versions of Cabal and cabal-install
Latest cabal-install requires latest Cabal due to api addition
M ./Cabal/Cabal.cabal -1 +1
M ./cabal-install/cabal-install.cabal -2 +2
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...