Commit Graph

51 Commits

Author SHA1 Message Date
1f02c66e05 Remove unneeded else branch 2018-09-30 14:20:48 +08:00
8c775e14fd More documentation 2018-09-30 14:20:32 +08:00
6dce415077 Simplify self_update 2018-09-30 14:00:58 +08:00
bc6a15cc91 Verify all function input arguments 2018-09-30 13:52:40 +08:00
49a20bc932 Add more code documentation 2018-09-30 13:52:01 +08:00
cb601e6df5 Make ghc download baseurl a global var 2018-09-30 13:34:54 +08:00
857ccefff4 Make script update url a global var 2018-09-30 13:33:04 +08:00
ce9e72795b Abstract over downloading 2018-09-30 13:31:43 +08:00
f3275360f4 Cleanup unset 2018-09-30 13:21:09 +08:00
8e1a5a0172 Improve error message 2018-09-30 04:06:53 +08:00
83d7f7152f Fix travis build 2018-09-30 03:34:26 +08:00
0ec136e3ec Add rm tests to travis 2018-09-30 03:18:31 +08:00
ee1d4e6aac Improve error/status messages 2018-09-30 03:15:21 +08:00
605b7420ce Add TODO item 2018-09-30 03:01:32 +08:00
561173b40b Add rm subcommand 2018-09-30 02:58:55 +08:00
347df231c5 Some refactoring 2018-09-30 02:58:17 +08:00
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
57778ac9a8 Improve help messages 2018-09-30 01:46:21 +08:00
5a2e31e7f6 Improve error handling 2018-09-30 01:33:08 +08:00
111a5d8be3 Rename script from ghcup.sh to ghcup 2018-09-30 01:17:14 +08:00
40b62f83f3 Fix issue references 2018-09-30 01:11:03 +08:00
4d12a4cc6d Link issues in README.md 2018-09-30 01:05:30 +08:00
f66ee7a4b2 Add TOC 2018-09-30 01:00:12 +08:00
1fb520def6 Update README.md with feature considerations 2018-09-30 00:55:53 +08:00
3a92049b47 Try to fix travis again 2018-09-30 00:55:12 +08:00
67f7639c5a Fix travis 2018-09-30 00:10:48 +08:00
add580e242 Use a .travis.sh script 2018-09-30 00:02:57 +08:00
6f70844708 Fix mkdir of target location 2018-09-29 23:55:33 +08:00
223557ed17 More sophisticated travis 2018-09-29 23:52:30 +08:00
0d5a39ed61 Fix travis 2018-09-29 23:40:27 +08:00
7774a4a608 Fix README.md 2018-09-29 23:34:17 +08:00
9618e58ddb License this project BSD-3 2018-09-29 23:33:16 +08:00
432267b83d Add Travis badge to README.md 2018-09-29 23:29:45 +08:00
12696d7dbd Add .travis.yml 2018-09-29 23:25:54 +08:00
cb8cef4c63 Add Contributing section to README.md 2018-09-29 23:18:58 +08:00
e21a72a09a Improve error handling 2018-09-29 23:12:13 +08:00
eb66e87593 Improve error handling 2018-09-29 23:02:00 +08:00
f571138f85 Add 'show' subcommand 2018-09-29 23:01:39 +08:00
fcd0c3650c Install ghcs into a subdir
This will allow to identify installed ghc versions easier,
since they live in their own subdir now.
2018-09-29 22:46:34 +08:00
ad5965d5f6 Improve error handling 2018-09-29 22:31:42 +08:00
900312922f Disable wrong shellcheck errors 2018-09-29 22:31:42 +08:00
6790ea56f9 Fix symlinking in install subcommand 2018-09-29 22:20:40 +08:00
8cc0ef35e1 Apply shellcheck suggestions 2018-09-29 22:12:40 +08:00
b4ea850e15 Rename 'set-ghc' subcommand to 'set' 2018-09-29 21:07:57 +08:00
144994fb1c Improve help messages 2018-09-29 21:03:24 +08:00
055739e0f9 As POSIX as it gets 2018-09-29 17:53:14 +08:00
8e2dcc9511 Clean up after yourself 2018-09-29 17:35:39 +08:00
66abdc9a65 Add README 2018-09-29 17:27:45 +08:00
bd2587965c Fix symlinking and curl behavior 2018-09-29 17:27:01 +08:00
04bb29afff Fix up stuff, add self-update subcommand 2018-09-29 17:03:12 +08:00