Commit Graph

367 Commits

Author SHA1 Message Date
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
Julian Ospald 5a18896d7a
Merge branch 'PR/add-debug-info-command' 2018-10-17 21:07:54 +08:00
Julian Ospald 0fd8085327
Merge branch 'PR/update-latest-known-cabal-install' 2018-10-17 21:06:30 +08:00
Julian Ospald 316fde7522
Merge branch 'PR/more-robust-unpacking' 2018-10-17 21:05:33 +08:00
Julian Ospald b17fb55331
Merge branch 'PR/smarter-ghc-install-cleanup' 2018-10-17 21:03:54 +08:00
Julian Ospald 0445e06ec1
Add a debug-info subcommand 2018-10-17 21:01:40 +08:00
Julian Ospald 869f306e35
Move error handling into download() function
This also makes the verbosity messages better.
2018-10-17 17:21:11 +08:00
Julian Ospald 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
Julian Ospald fe16061905
Latest known cabal is 2.4.0.0 now 2018-10-17 16:38:17 +08:00
Julian Ospald 90d068842d
Do smarter cleanup in case GHC installation fails 2018-10-17 15:42:38 +08:00
Julian Ospald ee09bfd600
Add early-stage note to README 2018-10-17 10:19:51 +08:00
Julian Ospald 69e2060073
Merge branch 'PR/allow-to-specify-build-config' 2018-10-17 10:18:59 +08:00
Julian Ospald 2eb9549a6c
Remove 'BuildFlavour = quick' since it doesn't have any effect 2018-10-17 10:17:27 +08:00
Julian Ospald b2b020eff3
Allow to specify a build config for 'ghcup compile'
Fixes #19
2018-10-17 10:17:07 +08:00
Julian Ospald c5b89e0297
Merge branch 'PR/fix-renaming-hasufell-refs' 2018-10-16 14:52:58 +08:00
Julian Ospald 28427b03e7
Improve README 2018-10-16 14:43:29 +08:00
Julian Ospald 0a5e5cb937
Fix references to hasufell 2018-10-16 14:41:42 +08:00
Julian Ospald 106d2bb81b
Increase version to 0.0.5 2018-10-16 01:06:42 +08:00
Julian Ospald da8d4ec0f4
Improve README.md 2018-10-16 00:22:37 +08:00
Julian Ospald 256d81eb13
Fix OS detection
Name is "Debian GNU/Linux" and not "Debian". Wildcard match
to make it more robust, same for Ubuntu.
2018-10-15 23:59:21 +08:00
Julian Ospald c6ff875d12
Clarify some stuff in README.md 2018-10-15 23:24:09 +08:00
Julian Ospald fbed519262
Merge remote-tracking branch 'origin/pr/13' 2018-10-15 22:27:59 +08:00
Sam Halliday 2082ae96a1 fix a typo 2018-10-15 15:24:14 +01:00
Julian Ospald a7c8f9da7c
Update self_update_usage 2018-10-15 22:19:03 +08:00
Julian Ospald 99e5070dc4
Update README.md 2018-10-15 22:18:54 +08:00
Julian Ospald 3dacc41914
Merge remote-tracking branch 'remotes/origin/pr/12' 2018-10-15 22:17:57 +08:00
Sam Halliday 1f32be4922 people are lazy, give them copypasta instructions... 2018-10-15 14:39:54 +01:00
Sam Halliday fafb9bbf9d self-update inplace 2018-10-15 14:32:04 +01:00
Julian Ospald e2f85dc17e
Add releases badge to README.md 2018-10-09 00:41:21 +08:00
Julian Ospald bd50a5b290
Release 0.0.4 2018-10-09 00:34:17 +08:00
Julian Ospald 866f08546c
Fix travis 2018-10-09 00:24:58 +08:00
Julian Ospald 2193b42822
Make self-update more robust
In fact, the old method was unsafe. Curl would modify the script
in-place and there was no guarantee that the script is already
in memory, leading to harmless, but unnecessary corruption
at the end of the script.

mv is atomic, so will unlink the old file before writing the new one.
2018-10-08 22:42:04 +08:00
Julian Ospald 54c42c7718
Install cabal into BIN_LOCATION
See #6
2018-10-05 10:44:23 +08:00
Julian Ospald 1d8f173456
Add compile command to root help 2018-10-05 10:34:26 +08:00
Julian Ospald 644a2829e4
Fix travis finally 2018-10-03 15:34:30 +08:00
Julian Ospald 35b40e2fc4
Fix travis :( 2018-10-03 11:52:27 +08:00
Julian Ospald f2e7ecd168
Fix travis 2018-10-03 11:31:18 +08:00
Julian Ospald 44b7da06bf
Try to fix travis 2018-10-03 02:17:38 +08:00
Julian Ospald 8d2a6fbc58
Try to fix travis 2018-10-03 02:04:45 +08:00
Julian Ospald ef2f6dfd65
Add vim setting to end of file 2018-10-03 01:41:24 +08:00
Julian Ospald 243b707127
Be paranoid about recursive removal 2018-10-03 01:39:48 +08:00
Julian Ospald cda30a7713
Improve README.md 2018-10-03 01:33:47 +08:00
Julian Ospald 12dbf2a136
Test self-update in travis 2018-10-03 01:32:24 +08:00