Commit Graph

79 Commits

Author SHA1 Message Date
jneira
d4a6a17a02 Update resolvers of install/shake.yaml 2020-04-09 21:44:48 +02:00
jneira
144351b6e4 Make install script use unix-time-0.4.7 2020-03-28 21:22:36 +01:00
jneira
7e45d34963 Not share jobs arg between shake and build 2020-02-26 19:50:10 +01:00
jneira
d773cfdab8 Add missing import if built with cabal 2020-02-24 14:21:55 +01:00
jneira
b46a531454 Several improvements to install script
* Remove unused imports
* Pass number of jobs and verbosity shake args to build tools
* Use custom cabal.project-${ghcVersion} if exists
* Add comments with the possible resolvers to shake.yaml
2020-02-24 12:17:24 +01:00
jneira
3bc34d7bf6 Remove new lines 2020-02-04 08:39:13 +01:00
jneira
ca64cf7e5f Check there is one ghc in $PATH 2020-02-04 08:22:28 +01:00
jneira
5f52a77693 Disable dev target (using ghc-8.8.2) for windows 2020-02-03 07:42:07 +01:00
jneira
40483ba367 Remove duplication 2020-01-29 10:09:52 +01:00
jneira
3212557fe6 Add dev target 2020-01-29 10:05:58 +01:00
jneira
fe8034e6d5 Correct formatting 2020-01-27 11:34:32 +01:00
jneira
8cbf3f9731 Correct list sep 2020-01-27 11:33:03 +01:00
jneira
559982c19e Remove ghc-8.8.2 for windows :-( 2020-01-27 11:27:55 +01:00
Avi Dessauer
f34aacacce Merge upstream 2020-01-18 12:43:02 -05:00
jneira
52ca3a5321 Exclude ghc-8.8.1 for windows
Due to https://gitlab.haskell.org/ghc/ghc/issues/17575
2020-01-10 10:37:35 +01:00
Julian Ospald
e332055991 Don't mix stack with cabal (#1557)
Fixes #1380 and #1556

* Simplifify targets
* Updating docs

Co-authored-by: Javier Neira  <atreyu.bbb@gmail.com>
2020-01-08 12:43:48 +01:00
Julian Ospald
433d082167
Avoid building HIE twice
cabal install works different than cabal build
and does not re-use its artifacts. Even some
dependencies may be rebuilt.

Future cabal versions may fix that, we don't know.
2020-01-06 22:37:54 +01:00
Avi Dessauer
e5d1060245 CPP imports + stack-8.8.1.yaml + ignore hie.yaml 2019-12-24 11:27:37 -05:00
Avi Dessauer
a2eab3c9ac Ghc 8.8.1 support 2019-12-24 11:27:37 -05:00
jneira
b1363df05c Make 3.0.0.0 the required minimum version for windows 2019-12-20 11:22:54 +01:00
jneira
d64467cff5 Use same stack resolver as latest hie version 2019-11-20 13:36:12 +01:00
jneira
23afc1e72a Relax bounds of shake to cover hie resolvers 2019-11-20 13:36:12 +01:00
jneira
756d51df95 Use ghc versions from stack-*.yaml files 2019-11-19 12:52:49 +01:00
jneira
0ae6936397 Use builtin splitSearchPath 2019-11-18 00:19:21 +01:00
jneira
ab1dde8135 Remove build-all target 2019-11-15 23:26:21 +01:00
jneira
27fb514fa0 Use existing exe function from Shake 2019-11-15 12:40:59 +01:00
jneira
e27003219a Rephrasing alternative to build-all 2019-11-15 12:24:42 +01:00
jneira
72de08b86d Use v2 prefix intead new 2019-11-15 11:48:25 +01:00
jneira
2c82368779 Replace lastest by latest 2019-11-15 11:45:00 +01:00
jneira
6f18dcae6b Correct suggestion of lastest target 2019-11-14 12:29:44 +01:00
jneira
2140a5a9ff Remove unnecessary catch over lookupEnv 2019-11-14 10:38:18 +01:00
jneira
0f72de0c98 Use TargetDescription to print targets 2019-11-14 10:37:54 +01:00
jneira
6e0cf21379 Use cabal options consistently 2019-11-14 07:35:29 +01:00
jneira
6831562f05 Merge branch 'improve-install' of https://github.com/jneira/haskell-ide-engine into improve-install 2019-11-14 07:33:49 +01:00
jneira
36fa815294 Formatting options list of cabal build 2019-11-13 23:03:16 +01:00
jneira
9e70be8346 Fix ghc version used to install hie 2019-11-13 14:57:37 +01:00
jneira
bb61dd1e9e Fix error in splitPaths 2019-11-13 13:48:45 +01:00
jneira
16be8e7381 Sort installed ghcs to fix the lastest target 2019-11-13 08:38:43 +01:00
jneira
0e2646bfb8 Fix getGhcPathOf for windows 2019-11-13 08:27:25 +01:00
jneira
78fdd5ba98 Add lastest, change default to it add warn about build-all 2019-11-12 14:52:34 +01:00
jneira
6a8f89cdb8 Use explicit list of ghc supported versions 2019-11-12 14:51:30 +01:00
jneira
b089c8b6b8 Remove unused language extension 2019-11-07 09:29:39 +01:00
jneira
f581cd6127 Catch the specific IOException in the getEnv error handler 2019-11-07 08:05:47 +01:00
jneira
4cfe6779bf Catch IOException instead SomeException 2019-11-06 13:44:50 +01:00
jneira
05220f2105 Ignore the PATH fix if it is not set 2019-11-06 12:06:32 +01:00
jneira
b5e388af80 Correct stack local install path and use a more precise name for the ugly hack 2019-10-14 13:16:23 +02:00
jneira
d1e442b608 Take in account local cache dir 2019-10-11 06:36:35 +02:00
jneira
da3f7771a9 Validate cabal after trying to install it 2019-10-10 12:36:36 +02:00
jneira
0037450d7f Remove unused import 2019-10-10 11:35:55 +02:00
jneira
5e216282c0 Some refactorings 2019-10-10 11:20:32 +02:00