-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
78 lines (62 loc) · 1.6 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<project name="qualitymetrics" default="all">
<property name="tool.xml" value="qualitymetrics_config.xml"/>
<property name="conda.dir" value="${user.home}/w4m-conda"/>
<!--~~~
~ ALL ~
~~~~~-->
<target name="all"/>
<!--~~~~
~ TEST ~
~~~~~-->
<target name="test" depends="planemo.lint,planemo.test"/>
<!--~~~~~~~~~~~~
~ PLANEMO LINT ~
~~~~~~~~~~~~~-->
<target name="planemo.lint">
<exec executable="planemo" failonerror="true">
<arg value="lint"/>
<arg value="${tool.xml}"/>
</exec>
</target>
<!--~~~~~~~~~~~~
~ PLANEMO TEST ~
~~~~~~~~~~~~~-->
<target name="planemo.test">
<exec executable="planemo" failonerror="true">
<arg value="test"/>
<arg value="--conda_prefix"/>
<arg value="${conda.dir}"/>
<arg value="--galaxy_branch"/>
<arg value="release_17.05"/>
<arg value="--conda_dependency_resolution"/>
<arg value="${tool.xml}"/>
</exec>
</target>
<!--~~~~~~~~~~~~~~~~~~~~~
~ PLANEMO CONDA INSTALL ~
~~~~~~~~~~~~~~~~~~~~~~-->
<target name="planemo.conda.install" depends="planemo.conda.init">
<exec executable="planemo" failonerror="true">
<arg value="conda_install"/>
<arg value="--conda_prefix"/>
<arg value="${conda.dir}"/>
<arg value="${tool.xml}"/>
</exec>
</target>
<!--~~~~~~~~~~~~~~~~~~
~ PLANEMO CONDA INIT ~
~~~~~~~~~~~~~~~~~~~-->
<target name="planemo.conda.init">
<exec executable="planemo" failonerror="true">
<arg value="conda_init"/>
<arg value="--conda_prefix"/>
<arg value="${conda.dir}"/>
</exec>
</target>
<!--~~~~~
~ CLEAN ~
~~~~~~-->
<target name="clean">
<delete dir="${conda.dir}"/>
</target>
</project>