c846e52acb
Cleanup during unpack failures as well
2021-10-10 20:48:33 +02:00
c19dd5ee8b
Implement ghcup gc
command
...
Fixes #241
2021-09-25 22:29:02 +02:00
9497e310ca
Improve cli interface with partial versions
...
Fixes #243
2021-09-25 17:13:11 +02:00
aece305003
Move logger stuff to logger module
2021-09-23 12:53:01 +02:00
f90741f4d3
Implement compiling HLS from source
2021-09-19 22:04:32 +02:00
c431c0ae00
Implement GPG verification wrt #236
2021-09-18 21:51:19 +02:00
d3a36c2c9a
Merge remote-tracking branch 'origin/merge-requests/156'
2021-09-18 15:19:06 +02:00
ae2031174e
Improve warnAboutHlsCompatibility
2021-09-14 12:36:14 +02:00
Arjun Kathuria
7a6a119829
Patch for MonadLogger deletion since new rebase
2021-09-07 14:21:24 +05:30
787c927de6
Improve logging, fixes #228
2021-09-06 23:01:49 +02:00
db8207f8b9
Fixup
2021-09-04 16:06:33 +02:00
d2346a543a
Fixup
2021-09-04 15:53:29 +02:00
9bdf6bde17
Only consider .diff/.patch for patch files wrt #226
2021-09-04 14:25:24 +02:00
bc80b1048f
Fix debug logs
2021-09-03 21:00:39 +02:00
13143b8e4d
Drop monad-logger
2021-08-30 23:36:11 +02:00
a269b60282
Remove extra
2021-08-29 22:37:16 +02:00
430dc2d20b
Remove zip dependency
2021-08-29 20:56:17 +02:00
14fc6b7281
Remove string-interpolate wrt #212
2021-08-25 18:54:58 +02:00
f8cfcd4038
Get rid of tar
2021-08-25 11:48:30 +02:00
d3e3ebd63f
Merge branch 'fix-ghcToolFiles'
2021-07-26 21:25:00 +02:00
3bdc82c99b
Redo file handling wrt #165 and #187
2021-07-22 17:44:03 +02:00
1c2cf98850
Fix file/dir removal on windows, fixes #165
2021-07-21 20:50:58 +02:00
a4a7f73fb7
Allow to use Hadrian as build system, fixes #35
2021-07-20 23:51:31 +02:00
4ed72fb517
Preserve mtimes on unpacked GHC tarballs on windows wrt #187
2021-07-19 23:33:01 +02:00
3caf91c640
Fix ensureGlobalTools
2021-07-19 19:08:43 +02:00
6143cdf2e0
Add --offline switch wrt #186
2021-07-19 13:49:24 +02:00
2c7176d998
Use LabelOptic and add LeanAppState
...
Wrt #186
2021-07-18 14:39:49 +02:00
42134fd2a5
Fix whereIsTool for cross
2021-07-15 22:38:42 +02:00
928f4a97de
Fix ghcToolFiles for upcoming GHC build system changes
...
Also see: https://gitlab.haskell.org/ghc/ghc/-/issues/20074#note_363720
2021-07-10 21:43:37 +02:00
b56c44a210
Ensure directories
2021-06-13 13:41:06 +02:00
54e8e3efb0
Gracefully handle stack binary not installed by ghcup
2021-06-12 22:27:31 +02:00
4dcc63606e
Remove legacy handling of cabal binary
2021-06-12 22:26:50 +02:00
2f62067d96
Windows support
2021-06-05 21:01:01 +02:00
734916728c
Add stack support
2021-05-15 14:01:00 +02:00
a905c6322c
Fix spelling
2021-04-29 14:47:22 +02:00
9f0ac0ee19
Allow to compile from git repo
2021-04-28 21:17:57 +02:00
adf44ba141
Validate subdirs too, fixes #52
2021-04-02 16:54:27 +02:00
7383fdd0c0
Make parser more lax, fixes #119
...
Also make sure we don't print the warning message
20 times, so avoid some repeated IO.
2021-04-01 17:21:00 +02:00
d5b5f1fddd
Chores
2021-03-24 17:56:57 +01:00
8c87c9aeb7
Fix error messages and overhaul pretty printing
...
Fixes #115
2021-03-02 10:35:31 +01:00
47d9766c78
Make sure forFold can properly inline
2021-02-25 15:40:52 +01:00
Huw campbell
d6fa61e223
Add command line completions for installed and available versions.
...
When running `ghcup set ghc` and pressing tab, one should be able to
autocomplete the currently installed GHCs we have available.
Add an optparse applicative completer for install, rm, and set commands
which shows tags and versions. For installation, all are shown; while
for remove and set, only those installed are.
2021-02-25 00:42:16 +11:00
a9b0c0fbc9
Allow for dynamic post-install, post-remove and pre-compile msgs
2021-02-23 11:52:38 +01:00
1d3e88bdfe
Fix disappearing HLS symlinks wrt #91
...
When installing a new GHC version, the corresponding
HLS symlink of that version may be accidentially removed.
Ooops.
2020-11-20 23:05:37 +01:00
241dadbeb5
Update to versions-4.0.1 API
2020-10-25 10:22:35 +01:00
e250d6013f
Redo Settings as AppState
2020-10-24 01:07:31 +02:00
bb7c4205db
Allow to install haskell-language-server wrt #65
2020-09-20 23:09:09 +02:00
a269131e2d
Allow to compile over existing version, fixes #59
2020-09-17 21:21:16 +02:00
326bf510c9
Fix Error when ~/.ghcup is a valid symlink
...
Fixes #49
2020-08-31 13:03:12 +02:00
5c45884f5f
Allow to specify regex for subdir
2020-08-10 22:27:50 +02:00