|
@@ -17,30 +17,22 @@ goto initDefault
|
|
|
:initForAnt
|
|
|
echo "Executing Ant setup..."
|
|
|
::If the directory exists the script has already been executed
|
|
|
-if not exist .\actionbarsherlock (
|
|
|
-
|
|
|
- ::Gets the owncloud-android-library
|
|
|
- call git submodule init
|
|
|
- call git submodule update
|
|
|
-
|
|
|
- ::Clones the actionbarsherlock and checks-out the right release (4.2.0)
|
|
|
- git clone "https://github.com/JakeWharton/ActionBarSherlock.git" "actionbarsherlock"
|
|
|
- cd "actionbarsherlock"
|
|
|
- git checkout "90939dc3925ffaaa0de269bbbe1b35e274968ea1"
|
|
|
- cd ../
|
|
|
-
|
|
|
- call android.bat update project -p libs/android-support-appcompat-v7-exploded-aar --target android-16
|
|
|
- call android.bat update lib-project -p owncloud-android-library
|
|
|
- call android.bat update project -p .
|
|
|
- call android.bat update project -p oc_jb_workaround
|
|
|
- call android.bat update test-project -p tests -m ..
|
|
|
-)
|
|
|
+
|
|
|
+::Gets the owncloud-android-library
|
|
|
+call git submodule init
|
|
|
+call git submodule update
|
|
|
+
|
|
|
+call android.bat update project -p libs/android-support-appcompat-v7-exploded-aar --target android-16
|
|
|
+call android.bat update lib-project -p owncloud-android-library
|
|
|
+call android.bat update project -p .
|
|
|
+call android.bat update project -p oc_jb_workaround
|
|
|
+call android.bat update test-project -p tests -m ..
|
|
|
+
|
|
|
goto complete
|
|
|
|
|
|
:initDefault
|
|
|
call git submodule init
|
|
|
call git submodule update
|
|
|
-call android.bat update project -p libs/android-support-appcompat-v7-exploded-aar --target android-16
|
|
|
call android.bat update lib-project -p owncloud-android-library
|
|
|
call android.bat update project -p .
|
|
|
call android.bat update project -p oc_jb_workaround
|