Commit Graph

21 Commits

Author SHA1 Message Date
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
4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
2845425099
Restructure modules 2022-05-22 21:11:40 +02:00
430b655785
Improve error handling for mergeFileTree 2022-05-20 00:15:25 +02:00
c9790e5823
Use strongly types GHCupPath and restrict destructive operations 2022-05-13 21:35:34 +02:00
48aee1e76c
[WIP] Prototype of recording installed files
This also installs makefile based build system via DESTDIR
into a temporary directory and then merges it into the filesystem.
2022-05-13 00:46:47 +02:00
dc0ea5a59c
Document and handle '--force' option better 2022-05-12 13:28:09 +02:00
991e540c11
Refactor code around isolateDirs, so we have proper knowledge 2022-05-11 16:18:35 +02:00
Nick Suchecki
e83612a06c Fix typo in compile hls --help subcommand. 2022-05-01 15:12:39 +00:00
8c205fd18c
Add --no-set to install commands, fixes #330
This also slightly changes the default for
'ghcup install cabal/stack/hls'... instead of
only setting the installed version if it's the latest,
we always set it. So the default is `--set`.

For GHC, the default is `--no-set`.
2022-03-13 22:48:45 +01:00
96cb99e1b5
Improve --repository completion 2022-03-07 22:23:39 +01:00
ab702bba9b
Improve completion support 2022-03-05 12:56:19 +01:00
c72841ca58
Implement 'ghcup run' 2022-02-09 18:57:59 +01:00
51690d1df3
Support HLS dynamic builds 2022-02-05 16:33:05 +01:00
c9216fb444
Improve help output of hls compile 2022-01-29 20:02:33 +01:00
James Hobson
5d43168370
Updated help message for ghcup compile ghc -h 2022-01-12 10:06:38 +01:00
2e03b075f8
Avoid redundant warnings when installing tools, fixes #283 2021-11-13 22:59:52 +01:00
a9630d0802
Cooler patching 2021-11-12 19:52:00 +01:00
c5c6c431b5
Allow remote URIs for --cabal-project-local wrt #281 2021-11-12 19:05:13 +01:00
274978a8a7
Allow to pass cabal args to 'compile hls'
This breaks the existing cli interface, but whatever.
2021-11-12 01:13:57 +01:00
01956d694d
Refactor app Main 2021-10-17 19:15:24 +02:00