mirror of https://github.com/axmolengine/axmol.git
Merge pull request #1769 from minggo/iss1603-adjust-directory
issue #1603:modify pathes for auto test
This commit is contained in:
commit
504c3acba7
|
@ -88,10 +88,10 @@ ROOT=$(pwd)
|
|||
IsTestCpp=1
|
||||
|
||||
#copy configuration files to target.
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/TestCpp/proj.android
|
||||
cd samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cd samples/Cpp/TestCpp/proj.android
|
||||
sh rootconfig-mac.sh TestCpp
|
||||
sh build_native.sh
|
||||
|
||||
|
@ -103,10 +103,10 @@ antcompile
|
|||
|
||||
IsTestCpp=0
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloCpp/proj.android
|
||||
cd ../../HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cd ../../Cpp/HelloCpp/proj.android
|
||||
sh rootconfig-mac.sh HelloCpp
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
@ -114,10 +114,10 @@ android update project -p proj.android
|
|||
cd proj.android
|
||||
antcompile
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloLua/proj.android
|
||||
cd ../../HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Lua/CppHelloLua/proj.android
|
||||
cd ../../Lua/HelloLua/proj.android
|
||||
sh rootconfig-mac.sh HelloLua
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
|
|
@ -92,10 +92,10 @@ sed -i '' '14d' $CUR/ant.properties
|
|||
gsed -i "14 i\\key.store=$ANDROID_HOME/debug.keystore" $CUR/ant.properties
|
||||
cp $CUR/../debug.keystore $ANDROID_HOME
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/TestCpp/proj.android
|
||||
cd samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cd samples/Cpp/TestCpp/proj.android
|
||||
sh rootconfig-mac.sh TestCpp
|
||||
sh build_native.sh
|
||||
|
||||
|
@ -107,10 +107,10 @@ antcompile
|
|||
|
||||
IsTestCpp=0
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloCpp/proj.android
|
||||
cd ../../HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cd ../../Cpp/HelloCpp/proj.android
|
||||
sh rootconfig-mac.sh HelloCpp
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
@ -118,10 +118,10 @@ android update project -p proj.android
|
|||
cd proj.android
|
||||
antcompile
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloLua/proj.android
|
||||
cd ../../HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cd ../../Lua/HelloLua/proj.android
|
||||
sh rootconfig-mac.sh HelloLua
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
|
|
@ -46,9 +46,9 @@ ROOT=$(pwd)
|
|||
IsTestCpp=1
|
||||
|
||||
#copy configuration files to target.
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cd samples/TestCpp/proj.android
|
||||
sh rootconfig-mac.sh TestCpp
|
||||
sh build_native.sh
|
||||
|
@ -61,10 +61,10 @@ antcompile
|
|||
|
||||
IsTestCpp=0
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloCpp/proj.android
|
||||
cd ../../HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cd ../../Cpp/HelloCpp/proj.android
|
||||
sh rootconfig-mac.sh HelloCpp
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
@ -72,10 +72,10 @@ android update project -p proj.android
|
|||
cd proj.android
|
||||
antcompile
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloLua/proj.android
|
||||
cd ../../HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cd ../../Lua/HelloLua/proj.android
|
||||
sh rootconfig-mac.sh HelloLua
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
|
|
@ -50,10 +50,10 @@ sed -i '' '14d' $CUR/ant.properties
|
|||
gsed -i "14 i\\key.store=$ANDROID_HOME/debug.keystore" $CUR/ant.properties
|
||||
cp $CUR/../debug.keystore $ANDROID_HOME
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/TestCpp/proj.android
|
||||
cd samples/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/TestCpp/proj.android
|
||||
cd samples/Cpp/TestCpp/proj.android
|
||||
sh rootconfig-mac.sh TestCpp
|
||||
sh build_native.sh
|
||||
|
||||
|
@ -65,10 +65,10 @@ antcompile
|
|||
|
||||
IsTestCpp=0
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloCpp/proj.android
|
||||
cd ../../HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Cpp/HelloCpp/proj.android
|
||||
cd ../../Cpp/HelloCpp/proj.android
|
||||
sh rootconfig-mac.sh HelloCpp
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
@ -76,10 +76,10 @@ android update project -p proj.android
|
|||
cd proj.android
|
||||
antcompile
|
||||
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/HelloLua/proj.android
|
||||
cd ../../HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Lua/HelloLua/proj.android
|
||||
cd ../../Lua/HelloLua/proj.android
|
||||
sh rootconfig-mac.sh HelloLua
|
||||
sh build_native.sh
|
||||
cd ..
|
||||
|
|
|
@ -1,47 +1,47 @@
|
|||
# HelloCpp
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.ios/HelloCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
|
||||
# TestCpp
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.ios/TestCpp.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
|
||||
# HelloLua
|
||||
xcodebuild clean build -project ../../../../samples/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Lua/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Lua/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Lua/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Lua/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Lua/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Lua/HelloLua/proj.ios/HelloLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
|
||||
# TestLua
|
||||
xcodebuild clean build -project ../../../../samples/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Lua/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Lua/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Lua/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Lua/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Lua/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Lua/TestLua/proj.ios/TestLua.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
|
||||
# TestJavascript
|
||||
xcodebuild clean build -project ../../../../samples/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Javascript/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Javascript/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Javascript/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Javascript/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Javascript/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Javascript/TestJavascript/proj.ios/TestJavascript.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
|
||||
# SimpleGame
|
||||
xcodebuild clean build -project ../../../../samples/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.0 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator5.1 -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/SimpleGame/proj.ios/SimpleGame.xcodeproj -alltargets -sdk iphonesimulator6.0 -configuration Release
|
|
@ -1,9 +1,9 @@
|
|||
# cpp
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.mac/HelloCpp.xcodeproj -alltargets -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/HelloCpp/proj.mac/HelloCpp.xcodeproj -alltargets -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.mac/HelloCpp.xcodeproj -alltargets -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/HelloCpp/proj.mac/HelloCpp.xcodeproj -alltargets -configuration Release
|
||||
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.mac/TestCpp.xcodeproj -alltargets -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/TestCpp/proj.mac/TestCpp.xcodeproj -alltargets -configuration Release
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.mac/TestCpp.xcodeproj -alltargets -configuration Debug
|
||||
xcodebuild clean build -project ../../../../samples/Cpp/TestCpp/proj.mac/TestCpp.xcodeproj -alltargets -configuration Release
|
||||
|
||||
# lua
|
||||
# TBD
|
||||
|
|
|
@ -12,16 +12,17 @@ if not exist "%JAVA_HOME%" echo Couldn't find Cygwin at "%JAVA_HOME%" and you sh
|
|||
if not exist "%ANT_HOME%" echo Couldn't find Ant at "%ANT_HOME%" and you should set it like this "D:\xx\apache-ant-1.8.4" $ pause $ exit 5
|
||||
|
||||
set _PROJECTNAME=TestCpp
|
||||
set _LANGUAGE_=Cpp
|
||||
cd ..\..\..\..
|
||||
|
||||
:project
|
||||
::Copy build Configuration files to target directory
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_PROJECTNAME%\proj.android /Y
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_PROJECTNAME%\proj.android /Y
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_PROJECTNAME%\proj.android /Y
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android /Y
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android /Y
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android /Y
|
||||
|
||||
::Modify the configuration files
|
||||
cd samples\%_PROJECTNAME%\proj.android
|
||||
cd samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
rootconfig.sh %_PROJECTNAME%
|
||||
cd ..
|
||||
set _PROJECTLOCATION=%cd%
|
||||
|
@ -130,7 +131,7 @@ move anttmp.properties ant.properties
|
|||
::Calculate the errorlevel and change build target.
|
||||
cd ..\..\..
|
||||
if "%_PROJECTNAME%"=="TestCpp" set /a TestCpp_Result=(result8+result10+result11+result12+result13) && set _PROJECTNAME=HelloCpp&& goto project
|
||||
if "%_PROJECTNAME%"=="HelloCpp" set /a HelloCpp_Result=(result8+result10+result11+result12+result13) && set _PROJECTNAME=HelloLua&& goto project
|
||||
if "%_PROJECTNAME%"=="HelloCpp" set /a HelloCpp_Result=(result8+result10+result11+result12+result13) && set _LANGUAGE_=Lua && set _PROJECTNAME=HelloLua&& goto project
|
||||
if "%_PROJECTNAME%"=="HelloLua" set /a HelloLua_Result=(result8+result10+result11+result12+result13)
|
||||
set /a Compile_Result=(TestCpp_Result+HelloCpp_Result+HelloLua_Result)
|
||||
if %Compile_Result% NEQ 0 goto error
|
||||
|
|
|
@ -11,16 +11,17 @@ if not exist "%JAVA_HOME%" echo Couldn't find Cygwin at "%JAVA_HOME%" and you sh
|
|||
if not exist "%ANT_HOME%" echo Couldn't find Ant at "%ANT_HOME%" and you should set it like this "D:\xx\apache-ant-1.8.4" $ pause $ exit 5
|
||||
|
||||
set _PROJECTNAME=TestCpp
|
||||
set _LANGUAGE_=Cpp
|
||||
cd ..\..\..\..
|
||||
|
||||
:project
|
||||
::Copy build Configuration files to target directory
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_LANGUANE_%\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
|
||||
::Modify the configuration files
|
||||
cd samples\%_PROJECTNAME%\proj.android
|
||||
cd samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
rootconfig.sh %_PROJECTNAME%
|
||||
cd ..
|
||||
set _PROJECTLOCATION=%cd%
|
||||
|
@ -147,7 +148,7 @@ move ant1.properties ant.properties
|
|||
::Calculate the errorlevel and change build target.
|
||||
cd ..\..\..
|
||||
IF "%_PROJECTNAME%"=="TestCpp" set /a testresult1=(result8+result10+result11+result12+result13) && set _PROJECTNAME=HelloCpp&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result8+result10+result11+result12+result13) && set _PROJECTNAME=HelloLua&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result8+result10+result11+result12+result13) && set _LANGUAGE_=Lua && set _PROJECTNAME=HelloLua&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloLua" set /a testresult3=(result8+result10+result11+result12+result13)
|
||||
set /a testresult=(testresult1+testresult2+testresult3)
|
||||
IF %testresult% NEQ 0 goto error
|
||||
|
|
|
@ -11,16 +11,17 @@ if not exist "%JAVA_HOME%" echo Couldn't find Cygwin at "%JAVA_HOME%" and you sh
|
|||
if not exist "%ANT_HOME%" echo Couldn't find Ant at "%ANT_HOME%" and you should set it like this "D:\xx\apache-ant-1.8.4" $ pause $ exit 5
|
||||
|
||||
set _PROJECTNAME=TestCpp
|
||||
set _LANGUAGE_=CPP
|
||||
cd ..\..\..\..
|
||||
|
||||
:project
|
||||
::Copy build Configuration files to target directory
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
|
||||
::Modify the configuration files
|
||||
cd samples\%_PROJECTNAME%\proj.android
|
||||
cd samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
rootconfig.sh %_PROJECTNAME%
|
||||
cd ..
|
||||
set _PROJECTLOCATION=%cd%
|
||||
|
@ -86,7 +87,7 @@ move anttmp.properties ant.properties
|
|||
::Calculate the errorlevel and change build target.
|
||||
cd ../../..
|
||||
IF "%_PROJECTNAME%"=="TestCpp" set /a testresult1=(result14+result15) && set _PROJECTNAME=HelloCpp&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result14+result15) && set _PROJECTNAME=HelloLua&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result14+result15) && set _LANGUAGE_=Lua && set _PROJECTNAME=HelloLua&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloLua" set /a testresult3=(result14+result15)
|
||||
set /a testresult=(testresult1+testresult2+testresult3)
|
||||
IF %testresult% NEQ 0 goto error
|
||||
|
|
|
@ -11,13 +11,14 @@ if not exist "%JAVA_HOME%" echo Couldn't find Cygwin at "%JAVA_HOME%" and you sh
|
|||
if not exist "%ANT_HOME%" echo Couldn't find Ant at "%ANT_HOME%" and you should set it like this "D:\xx\apache-ant-1.8.4" $ pause $ exit 5
|
||||
|
||||
set _PROJECTNAME=TestCpp
|
||||
set _LANGUAGE=Cpp
|
||||
cd ..\..\..\..
|
||||
|
||||
:project
|
||||
::Copy build Configuration files to target directory
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\ant.properties %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\build.xml %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
copy %cd%\tools\jenkins_scripts\windows\android\rootconfig.sh %cd%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
|
||||
::Modify the configuration files
|
||||
cd samples\%_PROJECTNAME%\proj.android
|
||||
|
@ -95,7 +96,7 @@ move ant1.properties ant.properties
|
|||
::Calculate the errorlevel and change build target.
|
||||
cd ..\..\..
|
||||
IF "%_PROJECTNAME%"=="TestCpp" set /a testresult1=(result14+result15) && set _PROJECTNAME=HelloCpp&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result14+result15) && set _PROJECTNAME=HelloLua&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result14+result15) && set _LANGUAGE_=Lua && set _PROJECTNAME=HelloLua&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloLua" set /a testresult3=(result14+result15)
|
||||
set /a testresult=(testresult1+testresult2+testresult3)
|
||||
IF %testresult% NEQ 0 goto error
|
||||
|
|
|
@ -9,10 +9,10 @@ cd ..\..\..\..\
|
|||
"%VS90COMNTOOLS%..\IDE\devenv.com" "%cd%\cocos2d-win32.vc2008.sln" /Build "Release|Win32"
|
||||
|
||||
::Set the directory of test project's resources.
|
||||
set CC_TEST_RES=%cd%\samples\TestCpp\Resources\*.*
|
||||
set CC_HELLOWORLD_RES=%cd%\samples\HelloCpp\Resources\*.*
|
||||
set CC_HELLOLUA_RES=%cd%\samples\HelloLua\Resources\*.*
|
||||
set CC_TESTJS_RES=%cd%\samples\TestJavascript\Resources\*.*
|
||||
set CC_TEST_RES=%cd%\samples\Cpp\TestCpp\Resources\*.*
|
||||
set CC_HELLOWORLD_RES=%cd%\samples\Cpp\HelloCpp\Resources\*.*
|
||||
set CC_HELLOLUA_RES=%cd%\samples\Lua\HelloLua\Resources\*.*
|
||||
set CC_TESTJS_RES=%cd%\samples\Javascript\TestJavascript\Resources\*.*
|
||||
|
||||
cd Debug.win32
|
||||
|
||||
|
|
Loading…
Reference in New Issue