Commit Graph

1573 Commits

Author SHA1 Message Date
Julian Ospald 544c618473
Don't remove legacy dir if it doesn't exist 2022-07-07 14:03:49 +02:00
Julian Ospald 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
Julian Ospald 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
Julian Ospald bdfb1a3a9b
Merge remote-tracking branch 'origin/merge-requests/264' 2022-06-26 23:14:36 +02:00
Julian Ospald 9b8b3e8126
Merge remote-tracking branch 'origin/merge-requests/263' 2022-06-26 23:14:10 +02:00
Julian Ospald 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
Julian Ospald 028696d4be
Merge branch 'issue-377' 2022-06-09 15:29:01 +02:00
Julian Ospald 4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
Julian Ospald fde5044194
Merge branch 'issue-371' 2022-06-07 18:44:31 +02:00
Julian Ospald 3af1286ab7
Fix ghcup_bootstrap test 2022-06-07 17:49:33 +02:00
Julian Ospald bcff46d3d4
Fix mingw PATH handling wrt #371 2022-06-07 14:37:23 +02:00
Julian Ospald d1c72cdff4
Add --mingw-path switch to 'ghcup run' 2022-06-06 23:03:45 +02:00
Julian Ospald 565bb59f45
Fix ghcup_bootstrap test 2022-06-06 23:03:07 +02:00
Julian Ospald aae3f31c50
Fix bootstrap-haskell picking system cabal 2022-06-06 23:03:07 +02:00
Julian Ospald 0ce9b5d352
Fix test 2022-06-06 23:03:07 +02:00
Julian Ospald bf0e5b37ca
Test issue #375 2022-06-06 20:22:45 +02:00
Julian Ospald fe620835be
Fix 'ghcup run' on windows, fixes #375 2022-06-06 20:18:10 +02:00
Julian Ospald c7dc77e6bc
Refreeze 2022-06-05 17:18:44 +02:00
Julian Ospald 05c72a3de6
Fix build with 9.2.3 2022-06-05 16:55:08 +02:00
Julian Ospald 0653844931
Fix build with ghc-9.0.2 2022-06-04 23:15:06 +02:00
Julian Ospald 7661046bcb
Update GHC version table 2022-05-28 16:44:15 +02:00
Julian Ospald 16888a12d4
Cleanup 2022-05-28 16:44:08 +02:00
Julian Ospald 9f7df33692
Merge branch 'issue-367' 2022-05-24 12:44:57 +02:00
Julian Ospald b7007aa100
Merge branch 'excepts-refac' 2022-05-24 12:44:39 +02:00
Julian Ospald 03dfd0cba0
Require --isolate to have an absolute directory, fixes #367 2022-05-23 23:50:49 +02:00
Julian Ospald 0e64d1f22f
Improve AlreadyInstalled 2022-05-23 23:49:43 +02:00
Julian Ospald c7774450bf
Refactor excepts 2022-05-23 23:37:09 +02:00
Julian Ospald 9375255452
Warn on all tools when shadowed 2022-05-23 16:50:23 +02:00
Julian Ospald b8b3a16589
Update modgraph 2022-05-23 00:00:57 +02:00
Julian Ospald e1d86c77d0
Merge branch 'issue-364' 2022-05-22 23:39:41 +02:00
Julian Ospald 001d33eabb
Use 'cabal update' 2022-05-22 22:47:40 +02:00
Julian Ospald 2845425099
Restructure modules 2022-05-22 21:11:40 +02:00
Julian Ospald c56b9ec3ce
Make windows mergeFileTree more robust 2022-05-21 20:51:13 +02:00
Julian Ospald 68c81577a4
Fix HLS install via compile 2022-05-21 15:03:20 +02:00
Julian Ospald b5fb8772fe
Fix windows 2022-05-21 11:34:57 +02:00
Julian Ospald 5741e069ad
Fix deletion on missing files 2022-05-20 23:29:31 +02:00
Julian Ospald df89ddcdf5
Use internal tmpdir 2022-05-20 23:19:33 +02:00
Julian Ospald c9e1261af2
Some fixes 2022-05-20 00:46:50 +02:00
Julian Ospald d5efc86d85
Preserve mtime when merging filetrees 2022-05-20 00:32:22 +02:00
Julian Ospald 430b655785
Improve error handling for mergeFileTree 2022-05-20 00:15:25 +02:00
Julian Ospald 1cffa358b8
Fix M1 CI 2022-05-19 21:01:48 +02:00
Julian Ospald ca89112a8e
Fix for darwin M1 2022-05-17 01:55:56 +02:00