1
0
Fork 0

unix-setup.sh: moar wip for macos

This commit is contained in:
Pratham Patel 2024-02-19 11:15:19 +05:30
parent f2554019f6
commit 385984cf40
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 8 additions and 1 deletions

View File

@ -162,6 +162,12 @@ function common_setup() {
run_rustup
}
function darwin_setup() {
# TODO: xcode thingy
# TODO: homebrew setup
echo "WIP"
}
if [[ "$(uname -s)" == 'Linux' ]]; then
if grep "ID=debian\|ID=ubuntu" /etc/os-release > /dev/null; then
@ -195,7 +201,8 @@ if [[ "$(uname -s)" == 'Linux' ]]; then
fi
elif [[ "$(uname -s)" == 'Darwin' ]]; then
function unix_setup() {
echo "WIP"
common_setup
darwin_setup
}
else
echo 'Unsupported OS.'