Daniel Gröber
ee55da4908
Prepare for splitting off ghc-mod-core eventually
2017-01-12 17:05:47 +01:00
Nikolay Yakimov
01adcff875
[Test] Write stack.yaml directly instead of stack init
2016-08-29 00:11:08 +03:00
Nikolay Yakimov
8352b0207c
[Test] Only git-clean ignored files
2016-08-28 23:59:55 +03:00
Nikolay Yakimov
f8acb77e6b
[Test] Use git to clean test/data/
2016-08-28 23:33:40 +03:00
Nikolay Yakimov
05d87f4175
[Test] Stack: use ghc-* resolver based on ghc version
2016-08-28 23:27:39 +03:00
Nikolay Yakimov
4d4a9d048b
Don't try to unsetEnv on ghc-7.6
2016-08-03 14:31:03 +03:00
Nikolay Yakimov
6496b641c9
Fix stack test
the easy way
2016-08-03 14:15:03 +03:00
Daniel Gröber
78bdf86a95
Fix all the stack related things
2015-08-19 09:17:41 +02:00
scturtle
ba13688413
Tell travis to download stack binary file
2015-08-19 09:17:12 +02:00
scturtle
89c3faea05
Initilize test for stack project
2015-08-19 09:17:11 +02:00
Daniel Gröber
8439f12cb0
Let Cabal determine the package-db stack
2015-08-07 07:31:08 +02:00
Daniel Gröber
80d91776c5
Cleanup and some fixes
2015-03-28 19:13:48 +01:00
Daniel Gröber
f0ea445a9b
Cleanup errors and logging a bit
2015-03-05 17:35:28 +01:00
Daniel Gröber
36ed081d54
Bring test suite up to date
2015-02-08 12:43:35 +01:00
Kazu Yamamoto
1e1505c535
removing warnings from spec.
2014-08-20 12:14:27 +09:00
Daniel Gröber
9922cf08e1
Generate cabal.sandbox.config in test/data/broken-cabal
2014-08-12 18:24:39 +02:00
Daniel Gröber
24633f04e4
Remove ghc-mod.cache files before tests run
2014-08-06 19:38:42 +02:00
Daniel Gröber
4b6a687bc1
Migrate the remaining parts of the exposed API to GhcMod a
2014-07-11 03:13:38 +02:00
Daniel Gröber
f949e4be7a
Copy ComponentLocalBuildInfo from Cabal-1.18
...
This way `configDependencies` works even when the Cabal version used by
cabal-install is later than the one used by ghc-mod.
2014-05-10 02:04:09 +02:00
Daniel Gröber
44b897c6a5
Print useful information when running spec
2014-05-09 20:37:55 +02:00
Daniel Gröber
96a54d2148
Remove test/*/setup-config before spec
2014-05-03 15:38:27 +02:00
Daniel Gröber
759a6efab1
Add some test data
...
..for testing behaviour with multiple versions/ids of packges being
available
2014-05-03 15:35:04 +02:00
Daniel Gröber
0206085662
Generate ghc package.cache before running spec
2014-05-03 15:35:04 +02:00
Daniel Gröber
30b8366526
Refactor the way packages databases are handled
...
- cradle now stores a list of active package databases instead of only
the user store (if present).
- rename `cradlePackageDb` -> `cradlePkgDbStack` as that`s what the ghc
documentaion calls this kind of thing
- `getPackageDbPackages` now returns names of all visible packages in
the given directory. Also the implementation now uses `ghc-pkg`
instead of manually looking at the package database
2014-04-15 05:15:50 +02:00