Daniel Gröber
9a8a3651d0
Fix findCabalFile
2014-11-03 00:45:27 +01:00
Daniel Gröber
506cf18885
Don't use fromJust
2014-11-03 00:33:23 +01:00
Rob Everest
2c2e7782d2
Use the cabal configuration flags where possible when finalizing the PackageDescription.
2014-09-12 13:15:05 +10:00
Kazu Yamamoto
1e1505c535
removing warnings from spec.
2014-08-20 12:14:27 +09:00
Daniel Gröber
271ff4e162
Catch cabal configure
failure properly
2014-08-18 08:06:36 +02:00
Daniel Gröber
87c587993a
Make parseCabalFile
use MonadError
2014-08-12 18:24:39 +02:00
Daniel Gröber
241c7946fc
Revert "Fix tests for Cabal <= 1.16"
...
The problem the reverted commit tried to fix seems to have been just a
symptom of another root cause that was later fixed as the problem does
not seem to occur anymore even without this changeset also this
changeset broke cabal sandboxes with ghc < 7.8.
Fix #262
This reverts commit 8741323f5b
.
Conflicts:
Language/Haskell/GhcMod/GhcPkg.hs
2014-05-19 01:27:35 +02:00
Daniel Gröber
8741323f5b
Fix tests for Cabal <= 1.16
2014-05-09 20:37:15 +02:00
Daniel Gröber
b8f9498f83
Fix reading of older Cabal setup-config
s
2014-05-09 20:35:13 +02:00
Daniel Gröber
81504de8bd
spec: Be more forgiving for ghc opts in getCompilerOptions
2014-05-05 09:26:56 +02:00
Daniel Gröber
96a54d2148
Remove test/*/setup-config before spec
2014-05-03 15:38:27 +02:00
Daniel Gröber
92d0eec2bc
Fix failing test
2014-05-03 15:36:10 +02:00
Daniel Gröber
0c859294a3
Parse cabal setup-config
to get depencencies
2014-05-03 15:36:10 +02:00
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