Commit Graph

23 Commits

Author SHA1 Message Date
9d4c923649
Add content-length property to downloads
This is optional for now. Fixes #367
2023-01-02 20:41:42 +08: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
b6ff5bc764
Use ghcup's internal dir for 'ghcup run' 2022-07-11 19:43:48 +02:00
d657c17df4
Merge branch 'issue-375' 2022-06-26 23:11:32 +02:00
4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
d1c72cdff4
Add --mingw-path switch to 'ghcup run' 2022-06-06 23:03:45 +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
a6a54f34cf
Merge branch 'issue-360' 2022-05-11 20:35:56 +02:00
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
991e540c11
Refactor code around isolateDirs, so we have proper knowledge 2022-05-11 16:18:35 +02:00
92bd333552
Fix double appstate 2022-03-18 17:47:49 +01:00
e511fc3c0a
Fix predictable /tmp dirs so ghcup gc -t fires 2022-03-16 23:15:09 +01:00
8f7d937e26
Use predictable /tmp names for ghcup run, fixes #329 2022-03-14 00:38:57 +01:00
6c63a65983
Fix bad error message wrt #323 2022-03-05 20:19:54 +01:00
ab702bba9b
Improve completion support 2022-03-05 12:56:19 +01:00
9faf17634b
Fix hlint and windows build 2022-02-10 21:49:19 +01:00
66a62c170c
Fix 'ghcup run' for legacy HLS 2022-02-10 20:35:09 +01:00
5186d959bc
Avoid metadata download when possible 2022-02-10 19:29:32 +01:00
09a8a0bda0
Fix build on windows and stack 2022-02-10 18:35:25 +01:00
c72841ca58
Implement 'ghcup run' 2022-02-09 18:57:59 +01:00