Commit Graph

22 Commits

Author SHA1 Message Date
Daniel Gröber 1639a7b2e0 Bring spec up to speed 2014-04-18 04:00:01 +02:00
Daniel Gröber bb438feb83 User ghc's cProjectVersionInt to get version information 2014-04-16 01:57:52 +02:00
Daniel Gröber 7d75787ae3 Only add available package to ghc options
Fixes #185
2014-04-15 05:18:42 +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
Naohiro Aota a0db24b0a5 Extend Package to include id
This commit
1. rename Package with PackageBaseName
2. Pacakge = (PackageBaseName, Maybe String) to save its id
3. Expose packages with id if available
2014-01-30 20:45:30 +09:00
Kazu Yamamoto a94b1a3b5a fixing tests. 2013-09-21 18:37:33 +09:00
Kazu Yamamoto 5f0fcd0442 getCompilerOptions handles package-db options. 2013-09-20 17:15:41 +09:00
Kazu Yamamoto 49791fb6ea Supporting sandbox sharing.
Braking backword compatibility of findCradle.
2013-09-20 15:48:50 +09:00
Kazu Yamamoto a491927ef6 more tests. 2013-09-20 11:22:56 +09:00
Kazu Yamamoto b514eebfc2 typo. 2013-09-20 10:48:51 +09:00
Kazu Yamamoto b75d96b50a fixing tests. 2013-09-16 10:16:33 +09:00
Niklas Hambüchen 41de7a54a2 Fix warning 2013-09-03 19:57:26 +09:00
Kazu Yamamoto 3bbc008907 test update and error handling in CabalApi. 2013-05-30 10:50:19 +09:00
Kazu Yamamoto 849c308e5c Separating IO and Ghc. 2013-05-20 11:29:44 +09:00
Kazu Yamamoto 56b1e14219 test case for #118. 2013-05-08 16:47:57 +09:00
Kazu Yamamoto ee0cfcc7ce fixing a test. 2013-05-08 16:34:34 +09:00
eagletmt 24ada2abeb Gather all hs-source-dirs to check test modules in sub-directories 2013-03-15 17:40:06 +09:00
Kazu Yamamoto 9e54c8c87b brushing up tests. 2013-03-13 12:48:26 +09:00
Kazu Yamamoto 7761691795 Refactoring Cabal stuff. 2013-03-01 15:25:43 +09:00
Kazu Yamamoto a8e57615ba Making cabalBuildInfo pure. 2013-03-01 13:14:46 +09:00
Kazu Yamamoto 431e3fa904 Making cabalDependPackages pure. 2013-03-01 12:21:42 +09:00
Kazu Yamamoto 5b2ddde59e test for Cabal and CabalApi. 2013-02-12 16:24:33 +09:00