-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
30 lines (30 loc) · 1007 Bytes
/
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
<project name="edep" default="xar">
<property name="npm" value="npm"/>
<target name="npm.install">
<exec executable="${npm}" outputproperty="install.output">
<arg line="install"/>
</exec>
<echo message="${install.output}"/>
</target>
<target name="clean">
<exec executable="${npm}" outputproperty="clean.output">
<arg line="run"/>
<arg line="clean"/>
</exec>
<echo message="${clean.output}"/>
</target>
<target name="prepare" depends="npm.install,clean">
<exec executable="${npm}" outputproperty="build.output">
<arg line="run"/>
<arg line="build"/>
</exec>
<echo message="${build.output}"/>
</target>
<target name="xar" depends="prepare">
<exec executable="${npm}" outputproperty="xar.output">
<arg line="run"/>
<arg line="xar"/>
</exec>
<echo message="${xar.output}"/>
</target>
</project>