-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.xml
40 lines (34 loc) · 1.16 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<project name="cup-maven-plugin" default="dist" basedir=".">
<description>
Build file for cup-maven-plugin
</description>
<condition property="isWindows">
<os family="windows"/>
</condition>
<condition property="isUnix">
<os family="unix"/>
</condition>
<target name="all" depends="mvn_windows, mvn_unix"/>
<target name="mvn_windows" if="isWindows">
<exec dir="java-cup" executable="cmd">
<arg line="/c mvn clean install"/>
</exec>
<exec dir="java-cup-runtime" executable="cmd">
<arg line="/c mvn clean install"/>
</exec>
<exec dir="cup-maven-plugin" executable="cmd">
<arg line="/c mvn clean install"/>
</exec>
</target>
<target name="mvn_unix" if="isUnix">
<exec dir="java-cup" executable="sh">
<arg line="-c 'mvn clean install'"/>
</exec>
<exec dir="java-cup-runtime" executable="sh">
<arg line="-c 'mvn clean install'"/>
</exec>
<exec dir="cup-maven-plugin" executable="sh">
<arg line="-c 'mvn clean install'"/>
</exec>
</target>
</project>