1 WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
2 XBMC_PLATFORM_DIR=osx64
3 . $WORKSPACE/tools/buildsteps/defaultenv
5 #clean without depends for skipping depends build if possible
6 #also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
7 cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
9 # if depends path has changed - cleanout everything and do a full rebuild
10 if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
12 #clean up the rest too
13 cd $WORKSPACE;git clean -xffd
14 cd $WORKSPACE/tools/depends/;./bootstrap