comparison build.xml @ 0:b2b02fb81a0a draft default tip

planemo upload for repository https://github.com/eschen42/multivariate/tree/dump_rdata forked from https://github.com/workflow4metabolomics/multivariate.git commit 2ace6612c83223925e25d38bce9530f90f20a602-dirty
author eschen42
date Mon, 14 Aug 2017 20:57:59 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b2b02fb81a0a
1 <project name="multivariate" default="all">
2
3 <property name="tool.xml" value="multivariate_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="plain.test,planemo.lint,planemo.test"/>
17
18 <!--~~~~~~~~~~
19 ~ PLAIN TEST ~
20 ~~~~~~~~~~~-->
21
22 <target name="plain.test">
23 <exec executable="test/test-multi" failonerror="true"/>
24 </target>
25
26 <!--~~~~~~~~~~~~
27 ~ PLANEMO LINT ~
28 ~~~~~~~~~~~~~-->
29
30 <target name="planemo.lint">
31 <exec executable="planemo" failonerror="true">
32 <arg value="lint"/>
33 <arg value="${tool.xml}"/>
34 </exec>
35 </target>
36
37 <!--~~~~~~~~~~~~
38 ~ PLANEMO TEST ~
39 ~~~~~~~~~~~~~-->
40
41 <target name="planemo.test" depends="planemo.conda.install">
42 <exec executable="planemo" failonerror="true">
43 <arg value="test"/>
44 <arg value="--conda_prefix"/>
45 <arg value="${conda.dir}"/>
46 <arg value="--galaxy_branch"/>
47 <arg value="release_16.07"/>
48 <arg value="--conda_dependency_resolution"/>
49 <arg value="${tool.xml}"/>
50 </exec>
51 </target>
52
53 <!--~~~~~~~~~~~~~~~~~~~~~
54 ~ PLANEMO CONDA INSTALL ~
55 ~~~~~~~~~~~~~~~~~~~~~~-->
56
57 <target name="planemo.conda.install" depends="planemo.conda.init">
58 <exec executable="planemo" failonerror="true">
59 <arg value="conda_install"/>
60 <arg value="--conda_prefix"/>
61 <arg value="${conda.dir}"/>
62 <arg value="${tool.xml}"/>
63 </exec>
64 </target>
65
66 <!--~~~~~~~~~~~~~~~~~~
67 ~ PLANEMO CONDA INIT ~
68 ~~~~~~~~~~~~~~~~~~~-->
69
70 <target name="planemo.conda.init">
71 <exec executable="planemo" failonerror="true">
72 <arg value="conda_init"/>
73 <arg value="--conda_prefix"/>
74 <arg value="${conda.dir}"/>
75 </exec>
76 </target>
77
78 <!--~~~~~
79 ~ CLEAN ~
80 ~~~~~~-->
81
82 <target name="clean">
83 <delete dir="${conda.dir}"/>
84 </target>
85
86 </project>