mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
Install language tools with asdf
This commit is contained in:
parent
2167583f5b
commit
6269f15b36
18
lib/tools.sh
Executable file
18
lib/tools.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
export LDFLAGS="-L/usr/local/opt/zlib/lib"
|
||||
export CPPFLAGS="-I/usr/local/opt/zlib/include"
|
||||
|
||||
cd "$HOME"
|
||||
|
||||
for tool in `awk -F " " '{print $1}' .tool-versions`; do
|
||||
asdf plugin-add "$tool"
|
||||
|
||||
if [ "$tool" == "nodejs" ]; then
|
||||
bash "$HOME/.asdf/plugins/nodejs/bin/import-release-team-keyring"
|
||||
fi
|
||||
done
|
||||
|
||||
asdf install
|
||||
|
||||
cd -
|
||||
Loading…
Reference in New Issue
Block a user