-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.xml
45 lines (41 loc) · 1.35 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
41
42
43
44
45
<project name="fpm" default="dist" basedir=".">
<description>
foundry package manager
</description>
<!-- set global properties for this build -->
<property name="modules" location="foundry_modules"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile
<mkdir dir="${build}"/> -->
</target>
<target name="deps" description="gets dependencies">
<mkdir dir="${modules}"/>
<exec executable="git">
<arg value="clone" />
<arg value="git://github.com/joshuairl/semver.git" />
<arg value="./foundry_modules/semver"/>
</exec>
<exec executable="git">
<arg value="clone" />
<arg value="git://github.com/slamkajs/mkdirp.git" />
<arg value="./foundry_modules/mkdirp"/>
</exec>
<exec executable="git">
<arg value="clone" />
<arg value="git://github.com/joshuairl/tmp.git" />
<arg value="./foundry_modules/tmp"/>
</exec>
<exec executable="git">
<arg value="clone" />
<arg value="git://github.com/joshuairl/rimraf.git" />
<arg value="./foundry_modules/rimraf"/>
</exec>
</target>
<target name="clean" description="clean up">
<!-- Delete the ${build} and ${dist} directory trees -->
<delete file=".gitmodules" />
<delete dir="${modules}"/>
</target>
</project>