Commit Graph

50 Commits

Author SHA1 Message Date
Samuel Pilz
8346b7fdfd rename module Install to HieInstall in hie-install
now, tests should work on windows
2019-07-11 20:27:10 +02:00
Samuel Pilz
84624187f2 add possibility to run install.hs from cabal
additionally provide mechanism for detecting if run from stack or cabal.
2019-07-11 20:27:10 +02:00
Mitsutoshi Aoe
fdaf48bc13 fixup! install.hs: Make all available GHCs in PATH buildable 2019-06-19 09:02:08 +09:00
Mitsutoshi Aoe
0fa495a6f3 install.hs: Make all available GHCs in PATH buildable 2019-06-18 11:11:16 +09:00
fendor
a1ce73ea17 Avoid legacy warning 2019-05-30 18:30:12 +02:00
Shaun Sharples
f116a396d7 drop extraneous argument to build 2019-05-03 18:46:07 +02:00
Samuel Pilz
2456008c8f remove installation of Cabal by cabal 2019-04-21 00:26:57 +02:00
Samuel Pilz
b51def0ddc sort the found supported ghc-versions 2019-04-21 00:07:08 +02:00
Samuel Pilz
e03b5e5ae4 dynamically load hie-versions and exclude 8.6.3 for windows 2019-04-18 14:24:08 +02:00
Samuel Pilz
5b0d0de734 add required stack version to error message 2019-04-16 17:47:30 +02:00
Samuel Pilz
1fffd94b33 add current stack version to error about too old stack version 2019-04-16 12:57:01 +02:00
Samuel Pilz
a7bb6e987a fix documentation comments 2019-04-16 12:51:11 +02:00
Samuel Pilz
7a974297ce document that cabal new-build will work on windows in next release 2019-04-13 17:42:12 +02:00
Samuel Pilz
cadcfe50e7 change helper functions to always use shake-yaml or specific ghc-based yaml 2019-04-13 17:32:53 +02:00
Samuel Pilz
0d2e6fac25 use the compiler from shake to install Cabal 2019-04-13 16:08:04 +02:00
Samuel Pilz
36b0f998f5 implement check for stack version 2019-04-13 15:47:48 +02:00
Samuel Pilz
aa5ea40bc3 check version of existing cabal before using that 2019-04-13 15:21:42 +02:00
Samuel Pilz
e0fb0a6c53 include @fendor's comments 2019-04-13 15:21:42 +02:00
Samuel Pilz
8fd5cba632 improve consistency in the install.hs script 2019-04-13 15:21:42 +02:00
fendor
cf758bd30e Install hoogle only if not found 2019-03-26 19:54:40 +01:00
fendor
0fdf478d54 Only generate hoogle database once 2019-03-26 13:47:32 +01:00
Leif Metcalf
f2c75127c1
Change stackage nightly version 2019-03-24 16:11:46 +13:00
Leif Metcalf
b4d537717e
Remove redundant shake.yaml 2019-03-18 16:11:45 +13:00
fendor
d144cf660a Remove dist target 2019-03-18 04:02:30 +03:00
Alan Zimmerman
cb67ee3a53 Add 8.6.4 as a build target, use right resolver for tests 2019-03-07 20:48:56 +02:00
fendor
591d46ebb0 Introduce visual separator in help message 2019-02-28 23:10:22 +01:00
fendor
dee5a05609 Fix typo and more newlines between targets 2019-02-28 23:01:51 +01:00
fendor
5906fe54ec Shorter help message to ease visual burden 2019-02-28 22:57:37 +01:00
fendor
4df099d579 Reformat error message 2019-02-27 23:18:28 +01:00
fendor
99621c9fa3 Fix type error in install.hs 2019-02-27 23:17:43 +01:00
fendor
9feb9c496e Throw an error if cabal target executed on windows 2019-02-27 22:56:55 +01:00
fendor
e39f4b0a04 Install hoogle executable before generating documentation 2019-02-24 21:14:55 +01:00
fendor
f446ee5d7e Improve cabal-target API and add documentation 2019-02-24 21:06:44 +01:00
fendor
218cef9337 Execute cabal-test only for installed GHCs 2019-02-19 13:24:54 +01:00
fendor
c11878d799 Update help message of target cabal 2019-02-19 13:23:54 +01:00
fendor
fe198b855d Add cabal-build-doc-* targets.
Merge remote-tracking branch 'upstream/master' into shake-cabal
2019-02-19 13:21:23 +01:00
fendor
5cc1e85a04 Change linking to always link to 'local-bin-path' 2019-02-18 17:28:24 +01:00
Hogeyama
574c667655 Unify target names of Make and Shake for building doc 2019-02-19 01:11:20 +09:00
fendor
4c8fc0df9a Fix order of hie linking with cabal 2019-02-18 16:11:10 +01:00
Hogeyama
d3423de08f Show help for build-doc-hie-% on make/shake help 2019-02-18 23:51:28 +09:00
fendor
c5c498d435 Remove generation of ghc environment file 2019-02-17 19:09:57 +01:00
fendor
e11d278f01 Discover installed GHCs and show them
Also updates the target `cabal-build` to only
build hie for versions that are installed
2019-02-12 16:44:43 +01:00
fendor
34f1347385 First draft of cabal targets 2019-02-03 11:36:53 +01:00
fendor
c9c519ad65 Generate build target help message 2019-01-30 19:12:36 +01:00
fendor
903d1f970f Create help message programmatically 2019-01-30 17:36:01 +01:00
Samuel Pilz
0cb2591ed3 Add error message to install.hs suggesting to clean workspace 2019-01-26 00:47:57 +01:00
fendor
211779bda6 Sync submodules and install cabal before building dist 2019-01-15 21:13:49 +01:00
Leif Metcalf
526c3d909d
Fix formatting 2019-01-15 08:53:44 +13:00
Anrock
a7ff096013 Unhardcode script name in help message of install.hs
Closes #1045
2019-01-14 10:35:46 +03:00
Anrock
cb42c29704 Rename Shakefile.hs to install.hs 2019-01-11 19:07:11 +03:00