Commit Graph

27 Commits

Author SHA1 Message Date
Julian Ospald a43fa7d63e
More cross fixes to install bindist 2023-07-07 16:41:58 +08:00
Julian Ospald 4b34cddcda
Implement support for nightlies, wrt #824 2023-05-14 19:43:49 +08:00
Julian Ospald 1e32639873
Implement 'ghcup test ghc' based on the bindist testsuite 2023-01-12 12:58:10 +08:00
Julian Ospald 009f9211a9
Integrate with errors.haskell.org
Fixes #434
2023-01-03 23:43:46 +08:00
Julian Ospald 9d4c923649
Add content-length property to downloads
This is optional for now. Fixes #367
2023-01-02 20:41:42 +08:00
Julian Ospald 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
Julian Ospald b6ff5bc764
Use ghcup's internal dir for 'ghcup run' 2022-07-11 19:43:48 +02:00
Julian Ospald d657c17df4
Merge branch 'issue-375' 2022-06-26 23:11:32 +02:00
Julian Ospald 4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
Julian Ospald d1c72cdff4
Add --mingw-path switch to 'ghcup run' 2022-06-06 23:03:45 +02:00
Julian Ospald 2845425099
Restructure modules 2022-05-22 21:11:40 +02:00
Julian Ospald 430b655785
Improve error handling for mergeFileTree 2022-05-20 00:15:25 +02:00
Julian Ospald c9790e5823
Use strongly types `GHCupPath` and restrict destructive operations 2022-05-13 21:35:34 +02:00
Julian Ospald 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
Julian Ospald a6a54f34cf
Merge branch 'issue-360' 2022-05-11 20:35:56 +02:00
Julian Ospald 5787a662ed
Add a --quick switch to 'ghcup run'
Also fixes #360, because we resolve all tags/versions now
by default.
2022-05-11 20:11:35 +02:00
Julian Ospald 991e540c11
Refactor code around isolateDirs, so we have proper knowledge 2022-05-11 16:18:35 +02:00
Julian Ospald 92bd333552
Fix double appstate 2022-03-18 17:47:49 +01:00
Julian Ospald e511fc3c0a
Fix predictable /tmp dirs so `ghcup gc -t` fires 2022-03-16 23:15:09 +01:00
Julian Ospald 8f7d937e26
Use predictable /tmp names for `ghcup run`, fixes #329 2022-03-14 00:38:57 +01:00
Julian Ospald 6c63a65983
Fix bad error message wrt #323 2022-03-05 20:19:54 +01:00
Julian Ospald ab702bba9b
Improve completion support 2022-03-05 12:56:19 +01:00
Julian Ospald 9faf17634b
Fix hlint and windows build 2022-02-10 21:49:19 +01:00
Julian Ospald 66a62c170c
Fix 'ghcup run' for legacy HLS 2022-02-10 20:35:09 +01:00
Julian Ospald 5186d959bc
Avoid metadata download when possible 2022-02-10 19:29:32 +01:00
Julian Ospald 09a8a0bda0
Fix build on windows and stack 2022-02-10 18:35:25 +01:00
Julian Ospald c72841ca58
Implement 'ghcup run' 2022-02-09 18:57:59 +01:00