From 6db72f913d66f3d5fd21129fc0c60958e72a4733 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sun, 24 Mar 2013 02:23:37 +0100 Subject: [jenkins] - welcome jenkins support for osx/ios/atv2/android to mainline :o) - add buildsteps for usage with jenkins --- tools/buildsteps/android/prepare-depends | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools/buildsteps/android/prepare-depends (limited to 'tools/buildsteps/android/prepare-depends') diff --git a/tools/buildsteps/android/prepare-depends b/tools/buildsteps/android/prepare-depends new file mode 100644 index 0000000000..8aabe48b7c --- /dev/null +++ b/tools/buildsteps/android/prepare-depends @@ -0,0 +1,13 @@ +WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} +XBMC_PLATFORM_DIR=android +. $WORKSPACE/tools/buildsteps/defaultenv + +#clean without depends for skipping depends build if possible +cd $WORKSPACE;git clean -xfd -e "tools/depends" + +if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ] +then + #clean up the rest too + cd $WORKSPACE;git clean -xfd + cd $WORKSPACE/tools/depends/;./bootstrap +fi -- cgit v1.2.3