Latest
This commit is contained in:
parent
1a8fdfb963
commit
ef23eaa780
2 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
[tools]
|
[tools]
|
||||||
java = 'openjdk-20'
|
java = 'openjdk-20'
|
||||||
node = 'lts'
|
|
||||||
python = ['3.10', '3.11', '3.12']
|
python = ['3.10', '3.11', '3.12']
|
||||||
ruby = '3.1.3'
|
ruby = '3.1.3'
|
||||||
|
|
||||||
|
|
|
@ -2646,9 +2646,11 @@ softwarePackages:
|
||||||
_name: mise
|
_name: mise
|
||||||
_post: |
|
_post: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mise use --global openjdk-20
|
mise install
|
||||||
|
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" ]; then
|
||||||
sudo mkdir -p /Library/Java/JavaVirtualMachines/openjdk-20.jdk
|
sudo mkdir -p /Library/Java/JavaVirtualMachines/openjdk-20.jdk
|
||||||
sudo ln -s "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" /Library/Java/JavaVirtualMachines/openjdk-20.jdk/Contents
|
sudo ln -s "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" /Library/Java/JavaVirtualMachines/openjdk-20.jdk/Contents
|
||||||
|
fi
|
||||||
apk: mise
|
apk: mise
|
||||||
brew: mise
|
brew: mise
|
||||||
cargo: mise-cli
|
cargo: mise-cli
|
||||||
|
|
Loading…
Reference in a new issue