This commit is contained in:
Brian Zalewski 2024-01-29 05:18:01 +00:00
parent 1a8fdfb963
commit ef23eaa780
2 changed files with 5 additions and 4 deletions

View file

@ -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'

View file

@ -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
sudo mkdir -p /Library/Java/JavaVirtualMachines/openjdk-20.jdk if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" ]; then
sudo ln -s "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" /Library/Java/JavaVirtualMachines/openjdk-20.jdk/Contents 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
fi
apk: mise apk: mise
brew: mise brew: mise
cargo: mise-cli cargo: mise-cli