Lei Zhu
6f07b6a343
compile test
2023-07-24 23:04:18 +08:00
0da5572164
Don't need --bignum option
2023-07-07 23:20:16 +08:00
a43fa7d63e
More cross fixes to install bindist
2023-07-07 16:41:58 +08:00
4361ef7a72
Fix cross target being ignored
2023-07-07 00:39:31 +08:00
Sylvain Henry
3218aaa378
Allow cross-compilation with Hadrian
2023-07-07 00:38:50 +08:00
4b34cddcda
Implement support for nightlies, wrt #824
2023-05-14 19:43:49 +08:00
009f9211a9
Integrate with errors.haskell.org
...
Fixes #434
2023-01-03 23:43:46 +08:00
9d4c923649
Add content-length property to downloads
...
This is optional for now. Fixes #367
2023-01-02 20:41:42 +08:00
823275363c
Merge branch 'ghcup-run-improvements'
2022-07-12 00:10:17 +02:00
284fe1b3b6
Fix parser and completer for 'ghcup compile hls --version'
2022-07-12 00:05:08 +02:00
7a2a5074fa
Fix parsing issues with 'ghcup run' and non-PVP versions
...
This is a major refactor of some CLI code. We try to distinguish
GHC versions from other versions, so that we can use distinct parsers.
Hopefully this doesn't introduce new bugs.
This also forces ghcup run to use the new internal ~/.ghcup/tmp dir.
2022-07-11 19:45:15 +02:00
99a51d67a1
Make compiling from hackage the default
2022-07-10 21:58:03 +02:00
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
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