comparison build.xml @ 0:d0bcc990abcf draft default tip

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