Commit Graph

1736 Commits

Author SHA1 Message Date
7b59621179
Support wget in bootstrap script 2022-07-10 17:56:00 +02:00
9d59463ded
Add GHCUP_CURL_OPTS to bootstrap script 2022-07-10 17:35:45 +02:00
Arjun Kathuria
3d49f79beb removes prettyShow from error case in BrickMain set' 2022-07-10 09:52:57 +05:30
Arjun Kathuria
e9740d13fc Updates userPrompt in BrickMain to a more efficient version 2022-07-10 09:50:58 +05:30
Arjun Kathuria
2bd5a8fe1a Removes redundant putPrompt function from Prompts module. 2022-07-10 09:45:39 +05:30
Arjun Kathuria
0acccae523 Removes GHCup.Types.Prompts module and stuffs it into GHCup.Types 2022-07-10 09:44:23 +05:30
974112016e
Allow to run 'cabal update' automatically before the HLS build 2022-07-09 23:50:20 +02:00
9fb2889696
Allow to build from arbitrary GHC source dists 2022-07-09 23:12:00 +02:00
63f22b28d7
Allow to build HLS from hackage 2022-07-09 21:12:23 +02:00
9a72fa13d5
Relax Cabal bounds 2022-07-09 18:04:03 +02:00
86a8a32032
Merge branch 'issue-380' 2022-07-07 17:04:42 +02:00
13e01ab453
Fix hlint warnings 2022-07-07 15:05:51 +02:00
873dd77a6f
Fix build on windows 2022-07-07 15:05:51 +02:00
544c618473
Don't remove legacy dir if it doesn't exist 2022-07-07 14:03:49 +02:00
a264cb088e
Improve 'ghcup compile hls'
1. short hashes now work
2. print the long hash in addition to the detected cabal version of HLS
3. add `--git-describe-version` switch as an alternative to
   `--overwrite-version`

Fix 1. and 2. for GHC as well.
2022-07-06 22:49:11 +02:00
1a43fddca9
Improve about docs 2022-07-02 20:34:19 +02:00
Arjun Kathuria
9ceb66ef21 chore: fix a hlint warning 2022-06-28 22:10:02 +05:30
Arjun Kathuria
7cbe38b011 Behavior Enhancement: make user press "S" only once to set, asks to install AND set if tool uninstalled 2022-06-28 19:50:22 +05:30
Arjun Kathuria
3bbc1edb19 updates user prompt message for "set" uninstalled version in BrickMain 2022-06-28 19:49:00 +05:30
Arjun Kathuria
b8dac2d7cd Updates the Prompt module to use logInfo instead of putStrLn,
makes the prompt look prettier
2022-06-28 19:45:17 +05:30
bdfb1a3a9b
Merge remote-tracking branch 'origin/merge-requests/264' 2022-06-26 23:14:36 +02:00
9b8b3e8126
Merge remote-tracking branch 'origin/merge-requests/263' 2022-06-26 23:14:10 +02:00
d657c17df4
Merge branch 'issue-375' 2022-06-26 23:11:32 +02:00
Arjun Kathuria
0e1fd68d93 when setting an uninstalled tool in tui, asks user to install first 2022-06-25 13:45:07 +05:30
Arjun Kathuria
c7eceb2330 Adds GHCup.Prompt modules and its types to project 2022-06-25 13:44:25 +05:30
why-not-try-calmer
e143c06697 VSCode integration
Typo
2022-06-16 11:07:12 +02:00
Jens Petersen
29da21f5dc bootstrap-haskell: s/will download/can download/
A one word tweak to weaken the language in the initial explanation
to make it "less scary": in general ghcup does not always download
all of ghcup, ghc, cabal, stack, and hls
(unless requested or they are not already installed, etc),
but "will download" sounds like the user is has no choice here
except to always download everything,
which might give them second thoughts about trying this script
and hence adopting ghcup.

Perhaps the wording could be made further more precise,
but at least "can" gives one less anxiety.
2022-06-11 13:06:54 +08:00
028696d4be
Merge branch 'issue-377' 2022-06-09 15:29:01 +02:00
4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
fde5044194
Merge branch 'issue-371' 2022-06-07 18:44:31 +02:00
3af1286ab7
Fix ghcup_bootstrap test 2022-06-07 17:49:33 +02:00
bcff46d3d4
Fix mingw PATH handling wrt #371 2022-06-07 14:37:23 +02:00
d1c72cdff4
Add --mingw-path switch to 'ghcup run' 2022-06-06 23:03:45 +02:00
565bb59f45
Fix ghcup_bootstrap test 2022-06-06 23:03:07 +02:00
aae3f31c50
Fix bootstrap-haskell picking system cabal 2022-06-06 23:03:07 +02:00
0ce9b5d352
Fix test 2022-06-06 23:03:07 +02:00
bf0e5b37ca
Test issue #375 2022-06-06 20:22:45 +02:00
fe620835be
Fix 'ghcup run' on windows, fixes #375 2022-06-06 20:18:10 +02:00
c7dc77e6bc
Refreeze 2022-06-05 17:18:44 +02:00
05c72a3de6
Fix build with 9.2.3 2022-06-05 16:55:08 +02:00
0653844931
Fix build with ghc-9.0.2 2022-06-04 23:15:06 +02:00
7661046bcb
Update GHC version table 2022-05-28 16:44:15 +02:00
16888a12d4
Cleanup 2022-05-28 16:44:08 +02:00
9f7df33692
Merge branch 'issue-367' 2022-05-24 12:44:57 +02:00
b7007aa100
Merge branch 'excepts-refac' 2022-05-24 12:44:39 +02:00
03dfd0cba0
Require --isolate to have an absolute directory, fixes #367 2022-05-23 23:50:49 +02:00
0e64d1f22f
Improve AlreadyInstalled 2022-05-23 23:49:43 +02:00
c7774450bf
Refactor excepts 2022-05-23 23:37:09 +02:00
9375255452
Warn on all tools when shadowed 2022-05-23 16:50:23 +02:00
b8b3a16589
Update modgraph 2022-05-23 00:00:57 +02:00