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
Julian Ospald
acc0581c08
Remove job setting from 'make install', because it's broken
2018-10-01 14:18:53 +08:00
Julian Ospald
49e05a0d15
Fix wording in README.md
2018-10-01 14:15:02 +08:00
Julian Ospald
5dc42f08c1
Fix bug with JOBS being set incorrectly
2018-10-01 14:14:01 +08:00
Julian Ospald
2e0501628b
Add note about compilation issues to known problems in README.md
2018-10-01 14:04:21 +08:00
Julian Ospald
ba80c6e409
Improve message when no GHC is installed
2018-10-01 12:28:24 +08:00
Julian Ospald
7d9631c7e4
Fix travis
2018-10-01 02:16:02 +08:00
Julian Ospald
7a1e6e07a3
Fix travis again
2018-09-30 19:48:27 +08:00
Julian Ospald
deeeb3751a
Fix travis
2018-09-30 19:41:49 +08:00
Julian Ospald
92b82c4a3e
Allow to build from source, fixes #2
2018-09-30 19:39:40 +08:00
Julian Ospald
b9a66bb2a1
Add note to README.md about cabal-install support
2018-09-30 18:30:11 +08:00
Julian Ospald
ea2d5c20d9
Add install-cabal subcommand, fixes #3
2018-09-30 16:47:04 +08:00
Julian Ospald
894a279a2d
Improve error messages
2018-09-30 16:11:56 +08:00
Julian Ospald
ce314365dd
Fix status message
...
Should only appear when we have actually removed GHC.
2018-09-30 14:41:18 +08:00
Julian Ospald
41199b5ebd
Print usage info when only -v is given
2018-09-30 14:36:50 +08:00
Julian Ospald
b25b907705
set-ghc is set now
2018-09-30 14:33:42 +08:00
Julian Ospald
6e1b6e431e
Pretty doc sections
2018-09-30 14:26:59 +08:00
Julian Ospald
1f02c66e05
Remove unneeded else branch
2018-09-30 14:20:48 +08:00
Julian Ospald
8c775e14fd
More documentation
2018-09-30 14:20:32 +08:00
Julian Ospald
6dce415077
Simplify self_update
2018-09-30 14:00:58 +08:00
Julian Ospald
bc6a15cc91
Verify all function input arguments
2018-09-30 13:52:40 +08:00
Julian Ospald
49a20bc932
Add more code documentation
2018-09-30 13:52:01 +08:00
Julian Ospald
cb601e6df5
Make ghc download baseurl a global var
2018-09-30 13:34:54 +08:00
Julian Ospald
857ccefff4
Make script update url a global var
2018-09-30 13:33:04 +08:00
Julian Ospald
ce9e72795b
Abstract over downloading
2018-09-30 13:31:43 +08:00
Julian Ospald
f3275360f4
Cleanup unset
2018-09-30 13:21:09 +08:00
Julian Ospald
8e1a5a0172
Improve error message
2018-09-30 04:06:53 +08:00
Julian Ospald
83d7f7152f
Fix travis build
2018-09-30 03:34:26 +08:00
Julian Ospald
0ec136e3ec
Add rm tests to travis
2018-09-30 03:18:31 +08:00
Julian Ospald
ee1d4e6aac
Improve error/status messages
2018-09-30 03:15:21 +08:00
Julian Ospald
605b7420ce
Add TODO item
2018-09-30 03:01:32 +08:00
Julian Ospald
561173b40b
Add rm subcommand
2018-09-30 02:58:55 +08:00
Julian Ospald
347df231c5
Some refactoring
2018-09-30 02:58:17 +08:00
Julian Ospald
eaee281fdb
Fix symlinking with verbosity installed
...
printf was messing this up. Introduce new optionv function for this.
2018-09-30 01:55:14 +08:00
Julian Ospald
57778ac9a8
Improve help messages
2018-09-30 01:46:21 +08:00
Julian Ospald
5a2e31e7f6
Improve error handling
2018-09-30 01:33:08 +08:00
Julian Ospald
111a5d8be3
Rename script from ghcup.sh to ghcup
2018-09-30 01:17:14 +08:00