Commit Graph

152 Commits

Author SHA1 Message Date
Oleg Grenrus
6008d8a964 Support installing on macOS aka Darwin
Resolves https://github.com/haskell/ghcup/issues/33
2018-11-11 20:13:06 +02:00
2b9f1a4a20
Include tags in 'ghcup list' and improve formatting 2018-11-06 22:01:02 +08:00
5eee1b6d58
Fix check_meta_file_version calls 2018-11-06 16:27:27 +08:00
478dd40dcf
Merge remote-tracking branch 'origin/pr/43' 2018-11-06 16:13:35 +08:00
cbb027d1ea
Allow to specify tags for 'install' and 'install-cabal' 2018-11-06 15:14:55 +08:00
a8032d54d5
Merge remote-tracking branch 'remotes/origin/pr/42' 2018-11-06 01:42:54 +08:00
Mitchell Rosen
632eda5507
GHC 8.6.2 metadata 2018-11-05 12:19:16 -05:00
475d060abe
Rename self-update to upgrade, fixes #38 2018-11-04 19:06:40 +08:00
2ef3c22cab
Refactor checking for required commands 2018-11-04 18:26:21 +08:00
91f046f6e9
Allow ghcup to be sourced 2018-11-04 18:20:50 +08:00
72acd59025
Simplify mkdir calls
mkdir -p is POSIX, so just... use it.
2018-10-31 10:30:38 +08:00
c04b5bbea0
Some TODO 2018-10-30 22:19:20 +08:00
abfca7fa75
Simplify mkdir 2018-10-30 21:33:03 +08:00
c261fd7396
Remove stray TODO 2018-10-30 21:31:31 +08:00
d4f5715361
README cleanup 2018-10-30 21:30:05 +08:00
a08d5970d3
Merge remote-tracking branch 'remotes/origin/PR/meta-file-format' 2018-10-30 21:22:32 +08:00
c1f7ce75f0
Get rid of realpath requirement, fixes #31 2018-10-30 21:21:43 +08:00
488079e3a3
Bump VERSION to 0.0.6 2018-10-30 21:21:43 +08:00
324d6d9d8c
Improve README 2018-10-30 21:21:43 +08:00
1501a2e8fa
Add CONTRIBUTING.md 2018-10-30 21:21:43 +08:00
cbb19a01c0
Check for required commands
Fixes #8
2018-10-30 21:21:42 +08:00
29911cd420
Introduce and use a meta file format for URLs and available versions
Fixes #21
Fixes #9
Fixes #10
Fixes #5
2018-10-30 21:21:42 +08:00
3f691b73ad
Fix debug-info to include CACHE_LOCATION 2018-10-28 17:36:10 +08:00
e3bc9ce99c
Introduce optional tarball caching, fixes #11 2018-10-28 17:34:37 +08:00
86ffcf81d9
Allow to use wget instead of curl, fixes #15 2018-10-28 17:00:54 +08:00
f71bf2fd51
Fix dangling GHC symlink check 2018-10-27 16:41:23 +08:00
34aa368e9b
Make GHC removal safer
Fixes #18
2018-10-27 16:18:14 +08:00
d232aa4993
Little travis cleanup 2018-10-27 15:19:55 +08:00
83cc66365b
Remove dangling ghc, ghci, ... symlinks after removal of active GHC 2018-10-27 15:16:57 +08:00
5bb5389192
Make uninstallation more robust
For an incomplete installation, we still want to remove
what is left over, so don't fail on non-existing symlinks
in $BIN_LOCATION.
2018-10-27 14:45:14 +08:00
eb79e39074
Simplify installation 2018-10-20 09:46:58 +08:00
de13482713
Restructure a bit 2018-10-20 09:42:25 +08:00
9af999d19c
Merge remote-tracking branch 'origin/pr/29' 2018-10-20 09:36:21 +08:00
Sam Halliday
3d5190055b inspired => similar to 2018-10-19 16:57:26 +01:00
Sam Halliday
e98fc10b83 comma 2018-10-19 16:56:10 +01:00
Sam Halliday
70338b9a32 fixup! add How back 2018-10-19 16:54:13 +01:00
Sam Halliday
8dbf564316 add How back 2018-10-19 16:52:02 +01:00
Sam Halliday
4a28439e27 unix philosophy 2018-10-19 16:48:15 +01:00
Sam Halliday
13ce348b0c don't say manage 2018-10-19 16:40:33 +01:00
Sam Halliday
586024abcc fixup! fixup! fixup! clear documentation 2018-10-19 16:38:30 +01:00
Sam Halliday
ba99d40738 fixup! fixup! clear documentation 2018-10-19 14:42:02 +01:00
Sam Halliday
11f40f49b3 fixup! clear documentation 2018-10-19 14:41:12 +01:00
Sam Halliday
130525cb9f clear documentation 2018-10-19 14:36:55 +01:00
5a18896d7a
Merge branch 'PR/add-debug-info-command' 2018-10-17 21:07:54 +08:00
0fd8085327
Merge branch 'PR/update-latest-known-cabal-install' 2018-10-17 21:06:30 +08:00
316fde7522
Merge branch 'PR/more-robust-unpacking' 2018-10-17 21:05:33 +08:00
b17fb55331
Merge branch 'PR/smarter-ghc-install-cleanup' 2018-10-17 21:03:54 +08:00
0445e06ec1
Add a debug-info subcommand 2018-10-17 21:01:40 +08:00
869f306e35
Move error handling into download() function
This also makes the verbosity messages better.
2018-10-17 17:21:11 +08:00
976635b65f
More robust unpacking
On some system, tar might not be able to automatically uncompress,
so do it separately.
2018-10-17 17:21:11 +08:00