| @@ -1,20 +1,13 @@ | |||||
| <build xmlns:sh="http://bitten.edgewall.org/tools/sh" | <build xmlns:sh="http://bitten.edgewall.org/tools/sh" | ||||
| xmlns:svn="http://bitten.edgewall.org/tools/svn" | xmlns:svn="http://bitten.edgewall.org/tools/svn" | ||||
| xmlns:c="http://bitten.edgewall.org/tools/c"> | xmlns:c="http://bitten.edgewall.org/tools/c"> | ||||
| <step id="init" description="Initialise builder"> | |||||
| <sh:exec file="sh" args="-c ' | |||||
| if test ${platform} = ppu-ps3; then | |||||
| echo ps3; else echo not ps3; fi | |||||
| '"/> | |||||
| <sh:exec file="exit" args="1"/> | |||||
| </step> | |||||
| <step id="checkout" description="Checkout source from repository"> | <step id="checkout" description="Checkout source from repository"> | ||||
| <svn:checkout url="svn://svn.zoy.org/lolengine/" | <svn:checkout url="svn://svn.zoy.org/lolengine/" | ||||
| path="${path}" revision="${revision}" /> | path="${path}" revision="${revision}" /> | ||||
| </step> | </step> | ||||
| <step id="bootstrap" description="Bootstrap build system"> | <step id="bootstrap" description="Bootstrap build system"> | ||||
| <sh:exec file="sh" args="-c ' | <sh:exec file="sh" args="-c ' | ||||
| case ${platform} in; | |||||
| case ${platform} in | |||||
| android-arm|ios-arm|ps3-ppu) : ; ;; | android-arm|ios-arm|ps3-ppu) : ; ;; | ||||
| *) ./bootstrap ;; | *) ./bootstrap ;; | ||||
| esac | esac | ||||
| @@ -22,7 +15,7 @@ | |||||
| </step> | </step> | ||||
| <step id="configure" description="Configure tree"> | <step id="configure" description="Configure tree"> | ||||
| <sh:exec file="sh" args="-c ' | <sh:exec file="sh" args="-c ' | ||||
| case ${platform} in; | |||||
| case ${platform} in | |||||
| android-arm|ios-arm|ps3-ppu) : ; ;; | android-arm|ios-arm|ps3-ppu) : ; ;; | ||||
| *) ./configure ;; | *) ./configure ;; | ||||
| esac | esac | ||||
| @@ -31,7 +24,7 @@ | |||||
| </step> | </step> | ||||
| <step id="build" description="Build tree"> | <step id="build" description="Build tree"> | ||||
| <sh:exec file="sh" args="-c ' | <sh:exec file="sh" args="-c ' | ||||
| case ${platform} in; | |||||
| case ${platform} in | |||||
| android-arm) | android-arm) | ||||
| cd monsterz/android; | cd monsterz/android; | ||||
| ndk-build; | ndk-build; | ||||
| @@ -51,7 +44,7 @@ | |||||
| </step> | </step> | ||||
| <step id="test" description="Run tests"> | <step id="test" description="Run tests"> | ||||
| <sh:exec file="sh" args="-c ' | <sh:exec file="sh" args="-c ' | ||||
| case ${platform} in; | |||||
| case ${platform} in | |||||
| android-arm|ios-arm|ps3-ppu) : ; ;; | android-arm|ios-arm|ps3-ppu) : ; ;; | ||||
| *) make check; ;; | *) make check; ;; | ||||
| esac | esac | ||||
| @@ -59,7 +52,7 @@ | |||||
| </step> | </step> | ||||
| <step id="clean" description="Clean tree"> | <step id="clean" description="Clean tree"> | ||||
| <sh:exec file="sh" args="-c ' | <sh:exec file="sh" args="-c ' | ||||
| case ${platform} in; | |||||
| case ${platform} in | |||||
| android-arm|ios-arm) : ; ;; | android-arm|ios-arm) : ; ;; | ||||
| *) make distclean; ;; | *) make distclean; ;; | ||||
| esac | esac | ||||