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
cafedd73a2
Use Settings to avoid querying dirs every time
2020-08-10 21:52:30 +02:00
7163b77837
Only query directories once
2020-08-10 21:51:31 +02:00
122c54b51e
Refactor
2020-08-10 21:51:31 +02:00
b9d7d7d007
Fix licences in module haddock
2020-08-10 21:51:29 +02:00
aac8f760ad
Add xdg support wrt #39
2020-08-10 21:51:19 +02:00
86b0e4b31b
Fix cabalSet
for pre-release versions
2020-08-10 21:51:19 +02:00
af811f3dbc
nub
result in getInstalledCabals
2020-08-10 21:51:19 +02:00
826900cc41
Improve documentation
2020-07-22 01:08:58 +02:00
0f69c73e0e
Rework printing/tee
...
This should be faster to draw, use less syscalls
and generally use EOF and pipes correctly.
2020-07-16 00:10:27 +02:00
1a64527e14
Improve verbosity
2020-07-13 16:27:01 +02:00
50424c2801
Allow to build with tar-bytestring on e.g. 32bit
2020-07-13 15:41:31 +02:00
bed2cca8d2
Use libarchive instead of tar-bytestring
2020-07-05 23:03:24 +02:00
7ec6e8604c
Slight style changes
2020-06-20 14:37:38 +02:00
Brian McKenna
febe6fcb35
Fix behaviour of non-Hadrian builds
...
getFileStatus will resolve symbolic links. getSymbolicLinkStatus doesn't.
2020-06-20 03:38:41 +00:00
Brian McKenna
d276bfb3ec
Extract Hadrian logic to isHadrian function with comment
2020-06-19 23:06:46 +00:00
Brian McKenna
a186b07763
Support Hadrian provided bindists
...
Fixes #31
2020-06-18 14:03:51 +00:00
6c95218daf
Support multiple installed versions of cabal
...
Fixes #23
2020-05-13 21:33:45 +02:00
f46700e1cc
First cross try
2020-04-29 20:19:01 +02:00
0ff7ebb1fd
Allow to set downloader
2020-04-29 19:12:58 +02:00
bcaccaaf31
Implement --keep
2020-04-22 19:32:14 +02:00
13acce07d4
Allow to install X.Y versions
2020-04-22 16:13:58 +02:00
6c12eb16eb
Add base tag
2020-04-22 11:59:40 +02:00
e637f90fae
List stray tools
2020-04-21 23:37:48 +02:00
e3c20d53a8
Add changelog command
...
This should be backwardscompatible with 0.0.1 json format.
Also slightly change 'getTagged' to list the latest version
with a tag, not the oldest.
2020-04-18 15:06:22 +02:00
9d9e415a09
Remove use of unsafe decodeUtf8
2020-04-17 09:30:45 +02:00
1455c2c175
Add darwin notarisation
2020-04-10 19:27:17 +02:00
3496f24f6e
Silence compiler warnings
2020-04-09 20:08:25 +02:00
6a79782650
Allow to apply patches for compiling from source
2020-04-08 22:57:57 +02:00
3e52def226
Update downloads and version
2020-04-05 11:02:13 +02:00
31a8316bfa
Implement proper build log scrolling
2020-03-24 21:05:10 +01:00
0963081fd8
Use OverloadedStrings instead of TH
2020-03-21 22:19:37 +01:00
c0c70f5c9b
Abstract over make
...
So on FreeBSD we get gmake.
2020-03-17 22:43:45 +01:00
8a1bd45ffe
Remove URLSource from Settings
2020-03-17 18:39:01 +01:00