aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/osx64/prepare-depends
blob: 03b10ea823a344b6e37f3c203a7c48700932b8b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=osx64
. $WORKSPACE/tools/buildsteps/defaultenv

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" -e "addons/pvr.*" -e "addons/audioencoder.*"

if [ "$(rebuildDepends)" == "1" ]
then
  #clean up the rest too
  cd $WORKSPACE;git clean -xffd
  cd $WORKSPACE/tools/depends/;./bootstrap
fi