Commit Graph

1072 Commits

Author SHA1 Message Date
Chris Done
81e0dc2d98 Put log under dist/ 2015-02-18 23:04:19 +01:00
Chris Done
c551ad0cdc Reduce more verbosity 2015-02-18 22:51:31 +01:00
Chris Done
2ee501db9c Don't add date to lts dir 2015-02-18 22:41:56 +01:00
Chris Done
72a7ecc252 Slightly less wordy progress report 2015-02-18 22:38:45 +01:00
Chris Done
b2b5758ff0 Progress reporting of sorts 2015-02-18 22:22:38 +01:00
Chris Done
0ec0af23f5 Start using provided log function 2015-02-18 13:52:22 +01:00
Chris Done
6613ea7e16 Check build tools 2015-02-17 21:35:23 +01:00
Chris Done
048106c593 Run tests 2015-02-17 18:07:16 +01:00
Chris Done
796ddbca89 Add --ghc-options arg 2015-02-17 18:05:10 +01:00
Chris Done
0b85b87dc2 Use getNumCapabilities 2015-02-17 17:26:57 +01:00
Chris Done
579f0dfd7e Move db target directories 2015-02-17 17:26:44 +01:00
Chris Done
77f1ea3789 Some shake cleanup 2015-02-17 15:59:30 +01:00
Chris Done
bdbde2c2fb Make a reader environment 2015-02-17 15:26:00 +01:00
Chris Done
b6cc4f8ee0 Port to system-filepath 2015-02-17 14:54:54 +01:00
Chris Done
adafabb225 Print out new packages that'll be installed 2015-02-15 23:48:31 +01:00
Chris Done
5e089315d9 Tweak wanting 2015-02-15 23:48:31 +01:00
Chris Done
bb5952dbf9 Copy final built distro to builds/ 2015-02-15 23:48:31 +01:00
Chris Done
6da56e4f15 Remove recache 2015-02-15 23:48:31 +01:00
Chris Done
2cc33a8545 shake: Clean up broken packages 2015-02-15 23:48:31 +01:00
Chris Done
16d58d5887 shake: Clean up unused packages 2015-02-15 23:48:31 +01:00
Chris Done
20666ae7f2 shake: Small refactor 2015-02-15 23:48:31 +01:00
Chris Done
1d4b4268b3 shake: Re-jig dir positions 2015-02-15 23:48:31 +01:00
Chris Done
1abef8ff44 shake: Make package builds version-specific 2015-02-15 23:48:31 +01:00
Chris Done
e774fc15fd shake: Build haddocks 2015-02-15 23:48:31 +01:00
Chris Done
7f7250702b Style tweak 2015-02-15 23:48:31 +01:00
Chris Done
794881627e Drop cycles 2015-02-15 23:48:31 +01:00
Chris Done
585e8bd1c7 shake: Do Haddock generation 2015-02-15 23:48:31 +01:00
Chris Done
ff996e9410 Don't reconfigure if unnecessary 2015-02-15 23:48:31 +01:00
Chris Done
9d3bab31d0 Proper caching of database 2015-02-15 23:48:31 +01:00
Chris Done
127fe575e7 Small refactoring 2015-02-15 23:48:31 +01:00
Chris Done
a94ff15c59 Only unpack when necessary 2015-02-15 23:48:31 +01:00
Chris Done
c109bbaa2e Fix path relativity in package db 2015-02-15 23:48:31 +01:00
Chris Done
d944971a10 shake: Creating and using local package db 2015-02-15 23:48:31 +01:00
Chris Done
f677e8bb73 shake: unpacking, building and registering 2015-02-15 23:48:31 +01:00
Chris Done
bb6078f4f1 shake: fetching packages 2015-02-15 23:48:30 +01:00
Chris Done
64a2393ca5 Basic build test in preparation for Shake 2015-02-15 23:48:30 +01:00
Chris Done
8d523d98cf Fix typo in doc string 2015-02-15 23:48:30 +01: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