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
gayanper
bdafe061d3
Add support to Git BashWhen working with git bash it ends up with an error saying it cannot remove the directory 'current' adding the -R will solve it for both nix and win.
2020-09-24 19:46:34 +01:00
Marco Vermeulen
20bf5c309f
Revert "Improve deployment of distro binary."
...
This reverts commit 2d7be87fb6 .
2020-09-03 21:14:02 +01:00
Marco Vermeulen
2d7be87fb6
Improve deployment of distro binary.
2020-09-03 21:03:52 +01:00
Marco Vermeulen
d98cb320d2
Move cucumber feature files to resources folder.
2020-09-03 13:30:30 +01:00
Felipe Santos
eae1ed4fad
Do not return error when package is already installed
2020-09-03 08:46:01 +01:00
Marco Vermeulen
59ef424144
Fix broken (false positive) test for pre/post hooks.
2020-09-02 17:45:43 +01:00
Marco Vermeulen
5a8c2f4974
Refine platform handling in tests.
2020-08-05 10:46:59 +01:00
Damiaan van der Kruk
3bae641050
Removes default parameter on asSdkmanPlatform()
2020-08-05 10:14:12 +01:00
Damiaan van der Kruk
443930d66d
Fix formatting
2020-08-05 10:14:12 +01:00
Damiaan van der Kruk
eadbbe0840
Moves plaform conversion in asSdkmanPlatform
2020-08-05 10:14:12 +01:00
Damiaan van der Kruk
cf436ed8f2
Adds arm64 dection of running os in tests
2020-08-05 10:14:12 +01:00
Damiaan van der Kruk
134d506e14
Adds LinuxARM64 detection
2020-08-05 10:14:12 +01:00
Oliver Weiler
dba3a467be
Run sdk env on opening a new terminal ( #780 )
2020-07-17 12:11:48 +01:00
Oliver Weiler
97a76cda76
Replace $(cat file) invocations with $(< file) for better performance
2020-07-15 11:21:52 +01:00
Ross Goldberg
dae40c391b
Use relative path for current link to version dir
2020-06-05 09:14:31 +01:00
Ross Goldberg
419ba49c8d
Rename duplicate path initialisation scenario name
...
Two scenarios both had the same name. Renamed the incorrectly named one.
2020-06-05 08:26:03 +01:00
Ross Goldberg
4b22f99b86
Remove legacy bash workaround from __sdk_update
...
The code that didn't work on legacy bash was removed a long time ago, so
the workaround is no longer necessary
The workaround prevents the tests from all completing successfully on
legacy bash, so it's very useful to remove the workaround
2020-05-25 09:04:53 +01:00
Ross Goldberg
98da69c2d3
Improve __sdkman_secure_curl_download ( #763 )
...
* Use shell-agnostic code in …_secure_curl_download
* Replicate original order of curl arguments
2020-05-24 21:20:16 +01:00
Marco Vermeulen
fb8ac9a9f8
Prevent the use command from accessing the internet.
2020-05-18 08:59:34 +01:00
Michael G
ece7ad05c4
Add GitHub issue templates for bugs, features, support and PRs ( #755 )
...
* Add GitHub issue templates for bugs, features, support and PRs
Issues are either a bug report, feature request or support request. Labels
are automaticaly added to the issues respectively: bug, enhancement, support.
The templates suggest using the Slack before opening an issue, but no longer
say it is a hard requirement. This might give a more inclusive impression to
people reporting who are not Slack users.
* List more information that should be provided for new issues
2020-05-07 19:20:14 +01:00
Oliver Weiler
4ca20ecbf2
Automatically execute sdk env when entering a directory with an .sdkmanrc ( #757 )
...
Add auto-env functionality.
Authored-by: Oliver Weiler <oliver.weiler@meinestadt.de >
2020-05-04 08:11:33 +01:00
Marco Vermeulen
67bc08aa27
Prevent logging of normalised_line in env command.
2020-05-04 08:07:11 +01:00
Marco Vermeulen
ca5a834c66
Add some comments to generated .sdkmanrc file.
2020-05-02 16:14:06 +01:00
Ross Goldberg
18971a7cea
Simplify bash csv parsing in sdkman-init.sh ( #754 )
2020-05-02 14:03:08 +01:00
Ross Goldberg
470554a367
Fix cached candidate server api error-handling bug in sdk update ( #749 )
...
* Fix cached candidate server api error-handling bug
* Simplify code in update scripts
2020-04-28 08:14:24 +01:00
Oliver Weiler
4a2e6a9809
Declare line_without_comments as local and readonly
2020-04-28 07:52:01 +01:00
Oliver Weiler
7564b08ab9
Revert "Declare line_without_comments as local and readonly"
...
This reverts commit 6ff6c07f3f .
2020-04-28 07:52:01 +01:00
Oliver Weiler
8d19c87867
Declare line_without_comments as local and readonly
2020-04-28 07:52:01 +01:00
Oliver Weiler
f2f56f5438
Declare sub_command as local and readonly
2020-04-28 07:52:01 +01:00
Oliver Weiler
3321af7634
Declare sdkmanrc as a local, readonly variable
2020-04-28 07:52:01 +01:00
Oliver Weiler
a49f7e7e2d
Shorten description
2020-04-28 07:52:01 +01:00
Oliver Weiler
6f366ed52b
Revert "Remove unnecessary quoting"
...
This reverts commit ef1a9c6f84 .
2020-04-28 07:52:01 +01:00
Oliver Weiler
6b9c03f368
Remove unnecessary quoting
2020-04-28 07:52:01 +01:00
Oliver Weiler
4ec6b77c97
Add explanatory comment
2020-04-28 07:52:01 +01:00
Oliver Weiler
0feac9726a
Remove unnecessary test
2020-04-28 07:52:01 +01:00
Oliver Weiler
95967c9edd
Add parametrised test for .sdkmanrc generation
2020-04-28 07:52:01 +01:00
Oliver Weiler
24098ad54f
Revert unwanted change
2020-04-28 07:52:01 +01:00
Oliver Weiler
6346b67b55
Add test for .sdkmanrc generation
2020-04-28 07:52:01 +01:00