Commit Graph

1037 Commits

Author SHA1 Message Date
Tim Dysinger
4b651e8865 add performbuild flag for dynamic executables 2015-03-12 13:04:11 +01:00
Oleg Grenrus
4312df025f Add --skip-haddock -flag 2015-02-21 12:39:02 +02:00
Emanuel Borsboom
f51b86e165 Add install subcommand.
Used to install a Stackage snapshot from a build plan.
2015-01-29 14:03:54 -08:00
Michael Snoyman
b4586e991e Don't die due to missing tool jgm/zip-archive#23 2015-01-23 00:09:10 +02:00
Michael Snoyman
b08210debd LTSHaskell distro name haskell/hackage-server#307 2015-01-14 08:18:30 +02:00
Michael Snoyman
fd56370e3a STACKAGE_AUTH_TOKEN environment variable 2015-01-11 10:18:39 +02:00
Michael Snoyman
548578c16b skip-check option to nightly (good for 7.10 builds) 2015-01-07 17:10:49 +02:00
Chris Done
d08d1b6248 Check for cycles when checking a build plan #375 2015-01-07 03:00:08 +01:00
Michael Snoyman
e77403edc4 upload-nightly 2015-01-06 10:54:02 +02:00
Michael Snoyman
241d5d72e2 second ==> minute 2015-01-05 17:18:47 +02:00
Michael Snoyman
cb9526b2fd Say "Still Alive" during checking for Travis 2015-01-05 17:08:23 +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
Michael Snoyman
243ae9c3b6 Fix a serialization bug (pinging @chrisdone) 2015-01-02 12:04:10 +02:00
Michael Snoyman
d39b7bf204 Remove all global flags, just use package flags 2015-01-02 09:11:17 +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
787db34739 Add --skip-flags and pbEnableTests (#3976) 2014-12-31 19:36:21 +01:00
Michael Snoyman
4396bed20c stackage check 2014-12-25 19:14:05 +02:00
Michael Snoyman
7dd7763dab Pre-fetch packages to catch Hackage downtime early 2014-12-25 09:24:14 +02:00
Michael Snoyman
be3221fc2c More correct progress tracking 2014-12-24 09:25:50 +02:00
Michael Snoyman
3982eee037 Give a bit more information on upload progress 2014-12-24 09:14:59 +02:00
Chris Done
cabb0812de unlines in core packages, consumer can handle #68 2014-12-23 12:04:31 +01:00
Chris Done
1d6907089c Output core packages list to "core" file #68 2014-12-23 11:59:35 +01:00
Michael Snoyman
65550f85bc Run postBuild before doc uploads 2014-12-21 15:07:59 +02:00
Michael Snoyman
18a07fa94a Use TLS manager 2014-12-18 07:31:07 +02:00
Michael Snoyman
d6c659c7fb stylish-haskell cleanup 2014-12-16 09:28:28 +02:00
Michael Snoyman
29ebe5d88b Warnings cleanup 2014-12-16 09:24:48 +02:00
Michael Snoyman
771e1967de pbGlobalInstall (pinging @manny-fp) 2014-12-16 09:00:19 +02:00
Michael Snoyman
f9c2d9284c Possibly fix a path separator issue #372 2014-12-15 13:48:56 +02:00
Simon Bergot
680bd1c2a2 fix type check failure (Int32 vs Int64) 2014-12-15 11:16:43 +01:00
Michael Snoyman
35d4edfaa8 Fix a Markdown display issue 2014-12-15 10:51:11 +02:00
Michael Snoyman
76e893bd52 Expected test failure /= expected Haddock failure 2014-12-15 08:34:54 +02:00
Michael Snoyman
4e06135f38 Add missing github-users in serialization 2014-12-15 08:22:26 +02:00
Michael Snoyman
0e1a160477 Cleanup in prep of release to Hackage 2014-12-15 08:10:16 +02:00
Michael Snoyman
11f9b73cf3 Remove all old code
Now constraints are always taken from a config file, meaning that
executables do not need to be recompiled for every settings change.
2014-12-15 07:49:25 +02:00
Michael Snoyman
a072dcc261 Temporarily drop elm-package #366 2014-12-14 18:48:17 +02:00
Michael Snoyman
2944980da6 Merge branch 'master' of github.com:fpco/stackage 2014-12-14 10:23:18 +02:00
Emanuel Borsboom
1f8df3119d Add git-embed 2014-12-13 10:28:46 -08:00
joey
ee519d1440 Merged with fpco master 2014-12-13 17:38:55 +01:00
Joey Eremondi
9e4231c5a0 Update Config.hs 2014-12-13 14:17:40 +01:00
Joey Eremondi
0f0f870ecb Haskelm is not ready yet 2014-12-13 14:14:36 +01:00
Michael Snoyman
8801ebe0bb Merge remote-tracking branch 'origin/master' into stackage2
Conflicts:
	Stackage/Config.hs
2014-12-12 15:48:45 +02:00
Michael Snoyman
b804e37845 Expect fsnotify to fail 2014-12-12 12:57:05 +02:00
Michael Snoyman
33b2e1540a Update Haddock file refs 2014-12-11 18:46:27 +02:00
Michael Snoyman
0eb8ce6650 Remove unnecessary line 2014-12-11 13:21:39 +02:00
Michael Snoyman
08b185add8 Remove opaleye ban and close #364 2014-12-11 11:24:08 +02:00