Marco Vermeulen
e6443f3b15
Update version of production to 5.9.2
5.9.2
2021-01-12 20:54:11 +00:00
Marco Vermeulen
45c1d9dfe1
Fix x86_64 machine name for Linux and Darwin.
2020-12-29 23:04:09 +00:00
Marco Vermeulen
d2400a5cad
Remove debug echo in init file.
2020-12-27 23:09:17 +00:00
Marco Vermeulen
0bda51f1b9
Improve platform inference in shell initialisation.
2020-12-27 22:36:30 +00:00
Oliver Weiler
54d2ab865f
Add sdk env install to usage instructions
2020-12-26 08:30:32 +00:00
smac89
379d9e48bc
source only files ending with .sh
2020-12-22 11:13:48 +00:00
Oliver Weiler
dc2b14d93c
Add sdk env install subcommand ( #839 )
...
* Add `sdk env install` subcommand
* Add spec for `env install` subcommand
Co-authored-by: Oliver Weiler <oliver.weiler@meinestadt.de >
2020-12-09 19:18:48 +00:00
Marco Vermeulen
c4057ce390
Minor presentation tweaks.
2020-12-05 09:45:35 +00:00
Darshit Patel
49a73bb3fe
#827 : Add a helpful tip when incorrect version is provided while installation ( #828 )
2020-12-05 08:35:16 +00:00
Oliver Weiler
b8b856f4a5
Check if the .sdkmanrc in the current directory has already been applied ( #833 )
...
Co-authored-by: Oliver Weiler <oliver.weiler@meinestadt.de >
2020-12-01 10:07:14 +00:00
Marco Vermeulen
08b2211eba
Change terminal output colour to yellow.
...
This occurs during the restoring of env default version.
2020-11-24 19:24:00 +00:00
mperezi
108b03f9c3
Ditch Bash dynamic scopes and get back fn params
2020-11-18 14:04:47 +01:00
mperezi
e2b6d6332b
Delete comment from chpwd hook function
2020-11-18 13:55:29 +01:00
mperezi
dd125f24f2
Replace literal tmp directory with a random one
2020-11-18 13:54:24 +01:00
mperezi
b51f0076f8
Replace echos with heredoc
2020-11-17 23:44:52 +01:00
mperezi
79354a0ea5
Extract __sdkman_env_each_candidate
2020-11-17 23:34:34 +01:00
mperezi
de1e3131af
Improve style & naming
2020-11-17 23:04:12 +01:00
mperezi
2f52cafff1
Use Bash dynamic scopes to remove arguments for subfunctions
2020-11-17 23:01:53 +01:00
mperezi
de91bc378b
Validate active environment inside method
2020-11-17 22:35:07 +01:00
mperezi
68911454ff
Extract methods
2020-11-17 22:32:04 +01:00
mperezi
17aeb759ea
Add missing tests
2020-11-17 16:27:41 +01:00
mperezi
f385aa0dc3
Update help
2020-11-16 17:23:39 +01:00
mperezi
6712429392
Update sdkman_auto_env functions
2020-11-16 15:55:13 +01:00
mperezi
c83f0eff1c
Restore default versions of candidates in the environment
2020-11-16 15:55:04 +01:00
mperezi
b73be88b78
Add SDKMAN_ENV to point to the current environment location
2020-11-16 15:54:49 +01:00
Marco Vermeulen
ec96fe835c
Tweak help output.
2020-10-10 10:20:17 +01:00
Marco Vermeulen
ca2fef16a5
Reformat flush feature and cleanup.
2020-10-10 09:51:14 +01:00
Marco Vermeulen
9f2d9de364
Merge branch 'delight-feature/flush_all' into master
2020-10-10 09:42:05 +01:00
gayanper
ab97b73964
Add support to Git Bash
...
When 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-10-10 09:38:02 +01:00
Marco Vermeulen
7ab26f5aab
Revert "Improve deployment of distro binary."
...
This reverts commit 2d7be87fb6 .
2020-10-10 09:36:04 +01:00
Marco Vermeulen
3d4285ea05
Improve deployment of distro binary.
2020-10-10 09:36:04 +01:00
Marco Vermeulen
24ddef3969
Move cucumber feature files to resources folder.
2020-10-10 09:36:04 +01:00
Felipe Santos
1a82ae28ab
Do not return error when package is already installed
2020-10-10 09:36:01 +01:00
Marco Vermeulen
fb91c381c1
Fix broken (false positive) test for pre/post hooks.
2020-10-10 09:35:18 +01:00
Marco Vermeulen
ba10bb5eb9
Refine platform handling in tests.
2020-10-10 09:35:18 +01:00
Damiaan van der Kruk
c38c843c44
Removes default parameter on asSdkmanPlatform()
2020-10-10 09:35:18 +01:00
Damiaan van der Kruk
2bb77ce5ec
Fix formatting
2020-10-10 09:35:18 +01:00
Damiaan van der Kruk
492a86628b
Moves plaform conversion in asSdkmanPlatform
2020-10-10 09:35:18 +01:00
Damiaan van der Kruk
7d5ba11e9b
Adds arm64 dection of running os in tests
2020-10-10 09:35:18 +01:00
Damiaan van der Kruk
b04f9fa5f7
Adds LinuxARM64 detection
2020-10-10 09:35:18 +01:00
Oliver Weiler
84a1954e76
Run sdk env on opening a new terminal ( #780 )
2020-10-10 09:35:18 +01:00
Oliver Weiler
eea874da00
Replace $(cat file) invocations with $(< file) for better performance
2020-10-10 09:35:18 +01:00
Ross Goldberg
7b2f7e9abb
Use relative path for current link to version dir
2020-10-10 09:35:18 +01:00
Ross Goldberg
0cf61c0760
Rename duplicate path initialisation scenario name
...
Two scenarios both had the same name. Renamed the incorrectly named one.
2020-10-10 09:35:18 +01:00
Ross Goldberg
9852a344f2
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-10-10 09:35:18 +01:00
Ross Goldberg
6d6b459ee8
Improve __sdkman_secure_curl_download ( #763 )
...
* Use shell-agnostic code in …_secure_curl_download
* Replicate original order of curl arguments
2020-10-10 09:35:18 +01:00
Marco Vermeulen
3ed7e7c654
Prevent the use command from accessing the internet.
2020-10-10 09:35:18 +01:00
Michael G
a4157a9ec7
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-10-10 09:35:18 +01:00
Oliver Weiler
bcb97dcca5
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-10-10 09:35:18 +01:00
Marco Vermeulen
ade991ab08
Prevent logging of normalised_line in env command.
2020-10-10 09:35:18 +01:00