Commit Graph

1487 Commits

Author SHA1 Message Date
Michael Snoyman
e7b87bdb9b Try out Travis 2015-01-05 14:30:08 +02:00
Chris Done
45b33ac54d Flexible tests for checkBuildPlan (#375)
@snoyberg Can you confirm that this simple test suite works for you?
I've set this up so that I can then add some cyclic dependencies and add
an occurs check for that, but figured I'd setup tests for some of the
existing invariants first.

Should be like:

    $ cabal test --ghc-options=-O0; cat dist/test/stackage-0.4.0-spec.log
    Building stackage-0.4.0...
    Preprocessing library stackage-0.4.0...
    In-place registering stackage-0.4.0...
    Preprocessing executable 'stackage' for stackage-0.4.0...
    Preprocessing test suite 'spec' for stackage-0.4.0...
    [3 of 4] Compiling Stackage.BuildPlanSpec ( test/Stackage/BuildPlanSpec.hs, dist/build/spec/spec-tmp/Stackage/BuildPlanSpec.o )
    Linking dist/build/spec/spec ...
    Running 1 test suites...
    Test suite spec: RUNNING...
    Test suite spec: PASS
    Test suite logged to: dist/test/stackage-0.4.0-spec.log
    1 of 1 test suites (1 of 1 test cases) passed.
    Test suite spec: RUNNING...

    Stackage.BuildPlan
      simple package set
      bad version range on depdendency fails
      nonexistent package fails to check
      default package set checks ok
    Stackage.CorePackages
      works
      contains known core packages
      getCoreExecutables includes known executables
    Stackage.PackageIndex
      works
      getLatestDescriptions gives reasonable results

    Finished in 14.3302 seconds
    9 examples, 0 failures
    Test suite spec: PASS
    Test suite logged to: dist/test/stackage-0.4.0-spec.log
2015-01-04 22:54:33 +01:00
Chris Done
5da6e5cfa4 Dependency injection of newBuildPlan (#375) 2015-01-04 22:54:33 +01:00
Chris Done
ee9bc2bbed Document Stackage.CheckBuildPlan 2015-01-04 22:54:33 +01:00
Alexandr Ruchkin
a99cd7dc76 Adding hdocs and hsdev packages.
Subj
2015-01-04 19:36:15 +03:00
Julian K. Arni
6801aff76f Add servant packages. 2015-01-04 16:51:36 +01:00
Chris Done
2b5cc31010 Add back hopenpgp-tools (#319) 2015-01-04 15:38:58 +01:00
Michael Snoyman
7d22293348 Add mutable-containers 2015-01-04 08:40:15 +02:00
Michael Snoyman
378c7ec556 HaXml documentation is really fixed this time 2015-01-03 19:18:53 +02:00
Michael Snoyman
243ae9c3b6 Fix a serialization bug (pinging @chrisdone) 2015-01-02 12:04:10 +02:00
Michael Snoyman
d52fdfffdf Version bump 2015-01-02 11:58:37 +02:00
Michael Snoyman
9c93a258f7 Revert "haddocks fixed"
This reverts commit 55f2b44d3b.
2015-01-02 09:49:58 +02:00
Michael Snoyman
d39b7bf204 Remove all global flags, just use package flags 2015-01-02 09:11:17 +02:00
Michael Snoyman
5d7b7b5082 Set a flag for storable-complex 2015-01-02 08:54:59 +02:00
Michael Snoyman
8bca1ec5c8 Add empty skipped-profiling section
@chrisdone this is now necessary, correct?
2015-01-02 08:54:02 +02:00
Michael Snoyman
b76d7e9720 Some comments regarding GHC 7.10 2015-01-02 08:25:42 +02:00
Michael Snoyman
ae568f9689 Upper bound for #390 2015-01-02 08:15:17 +02:00
Michael Snoyman
55f2b44d3b haddocks fixed 2015-01-01 16:48:19 +02:00
Michael Snoyman
3ff5e04039 Add expected test suite failure jswebtools/language-ecmascript#60 2015-01-01 11:57:51 +02:00
Chris Done
5712c2172a Add simple verbose mode (-v) for debugging 2014-12-31 22:17:45 +01:00
Chris Done
335fa91385 Add library profiling support #3973
* Implements --enable-library-profiling in the executable
* Adds pbEnableLibProfiling
* Adds ability to skip profiling on some packages, e.g.

skipped-profiling:
 - transformers-compat
2014-12-31 22:14:57 +01:00
Chris Done
1f2824540e Add --skip-upload flag
Easier for testing stackage the executable/library itself.
2014-12-31 19:45:29 +01:00
Chris Done
fb73435572 Split off uploading into separate finallyUpload 2014-12-31 19:43:25 +01:00
Chris Done
a16bc2b13f Add .dir-locals.el for emacs style conformance 2014-12-31 19:36:32 +01:00
Chris Done
787db34739 Add --skip-flags and pbEnableTests (#3976) 2014-12-31 19:36:21 +01:00
Chris Done
c42b61bd4c Reformat stackage.hs in tibbe style
@snoyberg Not bad, ran this through hindent --johan-tibell, looks
legit. Looks like you wrote it =)
2014-12-31 19:36:21 +01:00
Chris Done
7819eea565 Port stackage.hs to use optparse-applicative 2014-12-31 19:36:21 +01:00
Michael Snoyman
1d2d92d221 Upper bound for #389 2014-12-31 10:58:19 +02:00
Michael Snoyman
912c04bf64 Merge pull request #388 from fpco/add-wl-pprint-text
Add wl-pprint-text
2014-12-30 21:38:17 +02:00
Emanuel Borsboom
97cc42a6d2 Add wl-pprint-text
This was pulled in by graphviz, so it disappeared after graphviz was removed.
2014-12-30 11:34:20 -08:00
Michael Snoyman
ffca332cba Remove expected failure 2014-12-30 14:16:33 +02:00
Michael Snoyman
982ac15809 Add back packages and close #381 2014-12-30 06:02:04 +02:00
Michael Snoyman
6ade4f88a6 Add back packages from #382 2014-12-30 05:59:51 +02:00
Michael Snoyman
0a33aeaefd Merge pull request #386 from fpco/add-broadcast-chan
Add broadcast-chan
2014-12-30 05:36:15 +02:00
Emanuel Borsboom
2edae13c1b Add broadcast-chan 2014-12-29 18:41:32 -08:00
Michael Snoyman
4e2d1913cd Remove upper bounds and close #384 2014-12-29 15:39:23 +02:00
Michael Snoyman
6e831efb16 Expected test failure agrafix/Spock-worker#2 2014-12-29 15:31:03 +02:00
Michael Snoyman
e10ac7c349 Add liblzma-dev Debian package
Pinging @manny-fp
2014-12-29 15:29:24 +02:00
Michael Snoyman
e969234668 Expected test failure vincenthz/hs-crypto-pubkey#17 2014-12-29 15:28:01 +02:00
Michael Snoyman
b696813990 Expected HaXml Haddock failure #385 2014-12-29 14:02:50 +02:00
Michael Snoyman
bfac675e21 Add lzma-conduit 2014-12-29 12:55:10 +02:00
Michael Snoyman
2da61ec1a7 Temporarily remove hopenpgp-tools #319 2014-12-29 12:23:48 +02:00
Michael Snoyman
8494957758 More upper bounds #370 #384 2014-12-29 12:17:04 +02:00
Michael Snoyman
99d4f45a89 Fix upper bound 2014-12-29 12:06:28 +02:00
Michael Snoyman
ffd56719a6 Upper bound lifted-async for #370 2014-12-29 12:05:09 +02:00
Michael Snoyman
7b7a6a650b Merge branch 'master' of https://github.com/agrafix/stackage 2014-12-29 10:09:04 +02:00
Alexander Thiemann
3d5a826ed6 added more Spock packages 2014-12-29 03:54:27 +01:00
Michael Snoyman
f7aa2e2aa6 Add two conduit packages 2014-12-28 09:29:38 +02:00
Michael Snoyman
846c934ec3 Temporarily revert #382 2014-12-27 18:09:02 +02:00
Michael Snoyman
70ef5ab0ed Merge branch 'master' of github.com:fpco/stackage 2014-12-27 18:06:18 +02:00