source: trunk/build/bitten.xml @ 847

Last change on this file since 847 was 847, checked in by sam, 9 years ago

web: tune Bitten configuration.

  • Property svn:mime-type set to text/xml
File size: 1.6 KB
Line 
1<build xmlns:sh="http://bitten.edgewall.org/tools/sh"
2       xmlns:svn="http://bitten.edgewall.org/tools/svn"
3       xmlns:c="http://bitten.edgewall.org/tools/c">
4  <step id="checkout" description="Checkout source from repository">
5    <svn:checkout url="svn://svn.zoy.org/lolengine/"
6      path="${path}" revision="${revision}" />
7  </step>
8  <step id="bootstrap" description="Bootstrap build system">
9    <sh:exec file="sh" args="-c '
10      case ${platform} in
11        android-arm|ios-arm|ps3-ppu) : ; ;;
12        *) ./bootstrap ;;
13      esac
14      '"/>
15  </step>
16  <step id="configure" description="Configure tree">
17    <sh:exec file="sh" args="-c '
18      case ${platform} in
19        android-arm|ios-arm|ps3-ppu) : ; ;;
20        *) ./configure ;;
21      esac
22      '"/>
23    <sh:exec file="./configure" args=""/>
24  </step>
25  <step id="build" description="Build tree">
26    <sh:exec file="sh" args="-c '
27      case ${platform} in
28        android-arm)
29         cd monsterz/android;
30         ndk-build;
31         ant compile;
32         ;;
33        ios-arm)
34         :;
35         ;;
36        ps3-ppu)
37         ./build-ps3;
38         ;;
39        *)
40         make;
41         ;;
42      esac
43      '"/>
44  </step>
45  <step id="test" description="Run tests">
46    <sh:exec file="sh" args="-c '
47      case ${platform} in
48        android-arm|ios-arm|ps3-ppu) : ; ;;
49        *) make check; ;;
50      esac
51      '"/>
52  </step>
53  <step id="clean" description="Clean tree">
54    <sh:exec file="sh" args="-c '
55      case ${platform} in
56        android-arm|ios-arm) : ; ;;
57        *) make distclean; ;;
58      esac
59      '"/>
60  </step>
61</build>
Note: See TracBrowser for help on using the repository browser.