comparison build.xml @ 0:b4f5b5bc01dd draft

planemo upload for repository https://github.com/workflow4metabolomics/qualitymetrics.git commit 73366dd3473c509341ab9ba1df8ba748d08a50a1
author ethevenot
date Sat, 06 Aug 2016 12:01:17 -0400
parents
children 6d3b7b6573d8
comparison
equal deleted inserted replaced
-1:000000000000 0:b4f5b5bc01dd
1 <project name="qualitymetrics" default="all">
2
3 <property name="tool.xml" value="qualitymetrics_config.xml"/>
4 <property name="conda.dir" value="${user.home}/w4m-conda"/>
5
6 <!--~~~
7 ~ ALL ~
8 ~~~~~-->
9
10 <target name="all"/>
11
12 <!--~~~~
13 ~ TEST ~
14 ~~~~~-->
15
16 <target name="test" depends="planemo.lint,planemo.test"/>
17
18 <!--~~~~~~~~~~~~
19 ~ PLANEMO LINT ~
20 ~~~~~~~~~~~~~-->
21
22 <target name="planemo.lint">
23 <exec executable="planemo" failonerror="true">
24 <arg value="lint"/>
25 <arg value="${tool.xml}"/>
26 </exec>
27 </target>
28
29 <!--~~~~~~~~~~~~
30 ~ PLANEMO TEST ~
31 ~~~~~~~~~~~~~-->
32
33 <target name="planemo.test" depends="planemo.conda.install">
34 <exec executable="planemo" failonerror="true">
35 <arg value="test"/>
36 <arg value="--conda_prefix"/>
37 <arg value="${conda.dir}"/>
38 <arg value="--galaxy_branch"/>
39 <arg value="release_16.01"/>
40 <arg value="--conda_dependency_resolution"/>
41 <arg value="${tool.xml}"/>
42 </exec>
43 </target>
44
45 <!--~~~~~~~~~~~~~~~~~~~~~
46 ~ PLANEMO CONDA INSTALL ~
47 ~~~~~~~~~~~~~~~~~~~~~~-->
48
49 <target name="planemo.conda.install" depends="planemo.conda.init">
50 <exec executable="planemo" failonerror="true">
51 <arg value="conda_install"/>
52 <arg value="--conda_prefix"/>
53 <arg value="${conda.dir}"/>
54 <arg value="${tool.xml}"/>
55 </exec>
56 </target>
57
58 <!--~~~~~~~~~~~~~~~~~~
59 ~ PLANEMO CONDA INIT ~
60 ~~~~~~~~~~~~~~~~~~~-->
61
62 <target name="planemo.conda.init">
63 <exec executable="planemo" failonerror="true">
64 <arg value="conda_init"/>
65 <arg value="--conda_prefix"/>
66 <arg value="${conda.dir}"/>
67 </exec>
68 </target>
69
70 <!--~~~~~
71 ~ CLEAN ~
72 ~~~~~~-->
73
74 <target name="clean">
75 <delete dir="${conda.dir}"/>
76 </target>
77
78 </project>