Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 34 lines (23 sloc) 772 Bytes
#!/bin/bash
ARGS=$*
# Initial set up
# Dump Public Frameworks
#for fw in $SDK/System/Library/Frameworks/*/
#do export GO_EASY_ON_ME=1
# class-dump -H -o ~/Desktop/HeaderDump/Frameworks/$(perl -e "print substr(substr('$fw', 0, -1), rindex(substr('$fw', 0, -1), \"/\") +1, (rindex(substr('$fw', 0, -1), \".\"))-(rindex(substr('$fw', 0, -1), \"/\") +1))";)/ $fw$(perl -e "print substr(substr('$fw', 0, -1), rindex(substr('$fw', 0, -1), \"/\") +1, (rindex(substr('$fw', 0, -1), \".\"))-(rindex(substr('$fw', 0, -1), \"/\") +1))";)
#done
# Rename the files
cp ./Tweak.mm ./Tweak.xm
echo "Copied Tweak"
# Build
echo ""
echo "||---- Building..."
echo ""
make $ARGS
echo ""
echo "||---- Built!"
echo ""
# Rename the files
rm ./Tweak.xm
echo "Deleted Tweak.xm"
exit 0