Commit Graph

1223 Commits

Author SHA1 Message Date
Oliver Weiler
e577f40a60 Add descriptive variable names 2020-10-10 09:31:24 +01:00
Oliver Weiler
e046548f47 Remove unused import 2020-10-10 09:31:24 +01:00
Oliver Weiler
5113bc5c95 Revert error message 2020-10-10 09:31:24 +01:00
Oliver Weiler
20c758e7c4 Improve error message for malformed candidate entry 2020-10-10 09:31:24 +01:00
Oliver Weiler
e5f1d140e0 Add Spock specifications for testing newline handling and candidate entry check 2020-10-10 09:31:24 +01:00
Oliver Weiler
13db4d631d Move handling of lines without newlines to while loop 2020-10-10 09:31:24 +01:00
Oliver Weiler
734f7ad133 Move handling of lines without newline into while-loop 2020-10-10 09:31:24 +01:00
Oliver Weiler
9c6d080813 Fix wrong os.name for Mac OS X 2020-10-10 09:31:24 +01:00
Oliver Weiler
5c9e5365d0 Revert change to UnixUtils 2020-10-10 09:31:24 +01:00
Oliver Weiler
881d44d482 Add sdk env command to allow per-project configuration 2020-10-10 09:31:24 +01:00
Marco Vermeulen
00734a26e9 Remove offending character from home.feature. 2020-10-10 09:31:24 +01:00
Marco Vermeulen
2726f3f1e6 Move home comments out of source into feature file. 2020-10-10 09:31:24 +01:00
Erik Zivkovic
81bd3811a6 Home dir: Fix broken mnemonic test case 2020-10-10 09:31:24 +01:00
Erik Zivkovic
4b7c40ad58 Home dir: use h mnemonic for home instead of help 2020-10-10 09:31:24 +01:00
Erik Zivkovic
d293e2b3dc Home dir: Move documentation comment into home src 2020-10-10 09:31:24 +01:00
Erik Zivkovic
ebe30b3233 Add a command to print the home path of an installed SDK 2020-10-10 09:31:24 +01:00
yujiorama
3e9a9899f5 change sed delimiter to safe character 2020-10-10 09:31:24 +01:00
Konstantinos Kostarellis
2e4eb63b9b Convenience method "sdk flush"
- flush -> flush archives and flush temp
- adds "bin/" to .gitignore
2020-02-08 19:20:56 +01:00
Marco Vermeulen
28f4190406 Remove all cookie remnants of Oracle JDK from codebase. 2019-11-22 17:04:06 +00:00
Marco Vermeulen
e3ac77f413 Remove obsolete version flush code branch. 2019-11-22 15:07:41 +00:00
Marco Vermeulen
960fa918ec Code formatting. 2019-11-22 14:42:01 +00:00
Marco Vermeulen
788a6b0a56 Remove erroneous failing spec. 2019-11-22 14:41:35 +00:00
Marco Vermeulen
3644186f07 Upgrade to latest library versions. 2019-11-22 14:40:42 +00:00
Marco Vermeulen
9c03510d3c Simplification and improvements to use command.
* For version explicit version in use command
* Do not offer to install version on use command
2019-10-27 18:33:20 +00:00
Marco Vermeulen
52a706adcd Improve wording for cache updates. 2019-10-22 08:15:28 +01:00
Marco Vermeulen
2af13c7cfe #717: Use deterministic name for binary download to enable curl continuation. 2019-10-17 16:09:01 +02:00
Marco Vermeulen
776bfb7ee4 Add curl verbose logging when in debug mode. 2019-10-17 15:55:01 +02:00
Marco Vermeulen
1fe19fefae Tighten up return code on candidate installation. 2019-10-17 15:55:01 +02:00
Marco Vermeulen
5a59bb1db5 Upgrade to Gradle 5.5.1 2019-10-17 15:55:01 +02:00
Marco Vermeulen
1bbf28c3c1 Update ISSUE_TEMPLATE.md 2019-06-21 13:35:09 +01:00
Marco Vermeulen
fefa4a597f Update PULL_REQUEST_TEMPLATE.md 2019-06-21 07:35:17 +01:00
Marco Vermeulen
259af02cf4 Update ISSUE_TEMPLATE.md 2019-06-21 07:33:27 +01:00
Marco Vermeulen
a18fe3cf78 Update CONTRIBUTING.md 2019-06-21 07:30:42 +01:00
Marco Vermeulen
7fcfaac38c Updates to Github templates for accommodating slack. 2019-06-08 18:59:31 +01:00
Marco Vermeulen
e482975439 Introduce travis notifications for slack. 2019-05-20 15:46:51 +01:00
Marco Vermeulen
4a8a5abac0 Replace Gitter with Slack badge in README. 2019-05-19 12:06:33 +01:00
Marco Vermeulen
935f8e1503 Upgrade docker image to openjdk:11 2019-04-21 22:12:11 +01:00
Marco Vermeulen
7bf5d62f34 Remove emoji from README. 2019-04-21 22:07:25 +01:00
Jess
8b60b567d1 Added backers and sponsors on the README 2019-04-21 22:06:12 +01:00
Marco Vermeulen
b63ee15c88 Further tweak help output. 2019-01-22 11:39:24 +00:00
Marco Vermeulen
01da9b43b3 Refine help for local installation. 2019-01-22 10:17:03 +00:00
Tom Hicks
22c172e8de Update help script with local installation path argument. 2019-01-22 10:09:36 +00:00
Marco Vermeulen
1388c4d07d Reorder sdkman-init script. 2018-12-10 17:48:40 +00:00
Marco Vermeulen
d62dfe7ee3 Fix digital binary upload on travis. 2018-09-16 16:16:23 +01:00
Marco Vermeulen
1fe9a91907 Upload archive to digitalocean space. 2018-09-16 15:54:38 +01:00
Kai Weber
45886e93cf Use 'tee' to write status files
Replace the redirect operator >| with tee.
2018-09-14 13:33:31 +01:00
Kai Weber
5c49a42448 Use '>|' to write var/ status files
Setting 'noclobber' in bash or zsh prevents writing to an existing
regular file when using > as redirecting operator. Setting 'noclobber' allows
users of interactive shells to prevent accidential overwriting of
existing files.

bash and zsh allow to use >| as redirection operator so that the
redirection is attempted.

Because the write to the status files is required and not by accident
the >| is used in those cases.
2018-09-14 13:33:31 +01:00
qudongfang
21e1e73174 change 'sdkman_curl_continue_automatically' option to 'sdkman_curl_continue' 2018-08-24 07:38:16 +02:00
qudongfang
df6bdc278e download with retry 2018-08-24 07:38:16 +02:00
Elliot Weiser
fb820f2f8b Return non-zero exit code on failure
Failed installations should return an appropriate error code to
indicate in some way to the shell (other than just stdout) that
something went wrong.
2018-08-18 22:18:44 +01:00