mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
added custom clean-derived-data for mac-mini
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
path=~/Library/Developer/Xcode/DerivedData
|
||||
|
||||
if [ -d "${path}" ]; then
|
||||
if [ "$(uname -n)" = "Michaels-Mac-mini.local" ]; then
|
||||
echo "Removing derived data folders"
|
||||
rm -rf "$path"/*
|
||||
rm -r /Volumes/Bucket/Library/Developer/Xcode/DerivedData
|
||||
else
|
||||
echo "Removing derived data folders"
|
||||
rm -r ~/Library/Developer/Xcode/DerivedData/*
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user