Commit Graph

1644 Commits

Author SHA1 Message Date
Daniel Gröber 95b16ded6d Fix `checkComponent` 2015-04-14 00:53:40 +02:00
Daniel Gröber 9077e96aeb Fix tests 2015-04-13 23:16:14 +02:00
Daniel Gröber 94ef8fae79 Enhance debug information 2015-04-12 02:48:54 +02:00
Daniel Gröber ee4ee8765e Fix weird `resolveModule` double path issue
`mconcat` recurses into `Maybe a` which is not what I want, I just want
the first `Just` value
2015-04-12 02:48:54 +02:00
Daniel Gröber d7984faf79 No double `:` in logmsgs without a location 2015-04-12 02:48:54 +02:00
Daniel Gröber 2bf4c80580 Fix finding consistent component solution for targets
Union does the wrong thing, I wanted an intersection here.
2015-04-12 02:48:54 +02:00
Daniel Gröber 39a8ded102 Fix resolved component caching 2015-04-12 02:48:54 +02:00
Daniel Gröber ca79f99c3e Also add language options when resolving components 2015-04-12 02:48:54 +02:00
Daniel Gröber 6f59f07f00 Fix non canonicalized paths 2015-04-12 02:48:54 +02:00
Daniel Gröber 523f43c3c9 Fix some tests 2015-04-12 02:48:54 +02:00
Daniel Gröber d0ca3ee807 Fix MonadIO mess 2015-04-12 02:48:54 +02:00
Daniel Gröber f3b4da7a0e Use cabal-helper to get `buildPlatform` 2015-04-12 02:48:53 +02:00
Daniel Gröber 55216e4af3 ifdef for ghc < 7.10 2015-03-28 19:54:10 +01:00
Daniel Gröber 97d17b1173 SetupCompat.hs: remove dependnece on mtl 2015-03-28 19:13:51 +01:00
Markus Hauck e3812b49ec GHC 7.10.0.20150123 fixes 2015-03-28 19:13:51 +01:00
Daniel Gröber 340ff1e4a7 Update README 2015-03-28 19:13:51 +01:00
Daniel Gröber 744f2c232c Update cabal meta data 2015-03-28 19:13:51 +01:00
Daniel Gröber 80d91776c5 Cleanup and some fixes 2015-03-28 19:13:48 +01:00
Daniel Gröber 2a02742f9e Write autogen file when calling `cabal configure` 2015-03-28 02:32:47 +01:00
Daniel Gröber 7019cbcfa1 Implement better caching for target options 2015-03-28 02:32:44 +01:00
Daniel Gröber 90d9577f8d Factor out cabal-helper into a package 2015-03-15 20:48:55 +01:00
Daniel Gröber a97e07065e Don't set -Wall on `check` 2015-03-15 20:48:05 +01:00
Daniel Gröber 6756f1d10b Get rid of some warnings with ghc-7.8 2015-03-11 13:17:24 +01:00
Daniel Gröber 1cc9c4ba3d Also fix ghc and mtl version in doctest 2015-03-11 13:17:02 +01:00
Daniel Gröber 44dddadda3 Fix travis-ci 2015-03-10 23:57:28 +01:00
Daniel Gröber 3f8cfadeff Fix overlapping global/command flag `-q` 2015-03-10 09:24:33 +01:00
Daniel Gröber 539c294dd4 Fix a bunch of relate exception handling problems
should handle exceptions outside of runGmlT otherwise we don't catch ghc
load related ones.
2015-03-09 22:04:04 +01:00
Daniel Gröber 7d7f848afb Fix cabal-helper ignoring --with-* flags 2015-03-08 20:53:00 +01:00
Daniel Gröber 1ac71364a9 Fix use of (head . lines) 2015-03-08 17:33:09 +01:00
Daniel Gröber a6d3f477bc Add better handling for empty component assignments 2015-03-08 17:32:17 +01:00
Daniel Gröber baf5cad809 Pass through --with-* options to cabal-helper 2015-03-07 19:37:19 +01:00
Daniel Gröber 85d4844a0d Improve suggestions on inconsistent assignment 2015-03-06 19:49:26 +01:00
Daniel Gröber e23772b1ed Recache cabal-helper stuff when cabal-helper-* executable changes 2015-03-06 19:48:22 +01:00
Daniel Gröber c05bd816e7 Add quiet option to decrease log level 2015-03-06 19:47:51 +01:00
Daniel Gröber b9230c7e3f Another recomp bug fixed 2015-03-06 14:49:12 +01:00
Daniel Gröber 8aece59638 Add other-modules to library entrypoints 2015-03-06 14:39:54 +01:00
Daniel Gröber c8da5b8085 Fix line endings in logging output 2015-03-06 14:04:49 +01:00
Daniel Gröber b3b4b91ff8 Fix sloppy recompilation checking in cabal-helper-wrapper 2015-03-06 14:04:31 +01:00
Daniel Gröber 9d5ee06af8 Fix GHC 7.10-rc1 2015-03-06 14:04:16 +01:00
Daniel Gröber 1bc9706fe6 cabal-helper: don't install Cabal into the user prefix 2015-03-06 12:08:06 +01:00
Daniel Gröber ca35e99254 Remove Cabal version sanity check from Setup.hs 2015-03-05 19:47:40 +01:00
Daniel Gröber 2151363dd6 Add back `-d` option to `modules` command 2015-03-05 19:38:18 +01:00
Kei Hibino eb5d0fc867 Re-add output line separator global option for expand command. 2015-03-05 17:45:48 +01:00
Daniel Gröber e0bd4c6984 Update ghc-mod.cabal maintainer field 2015-03-05 17:35:29 +01:00
Daniel Gröber 7ffded8b88 Add back LICENSE file pointing to COPYING.* 2015-03-05 17:35:29 +01:00
Daniel Gröber 8c3acd73df Update .gitignore 2015-03-05 17:35:28 +01:00
Daniel Gröber 070bf54323 Update README 2015-03-05 17:35:28 +01:00
Daniel Gröber bee3ec35ec exe:ghc-mod: some output formatting changes 2015-03-05 17:35:28 +01:00
Daniel Gröber 01dde80385 Bring test suite up to date 2015-03-05 17:35:28 +01:00
Daniel Gröber f0ea445a9b Cleanup errors and logging a bit 2015-03-05 17:35:28 +01:00