comparison build.xml @ 0:ef64d3752050 draft

planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
author ethevenot
date Wed, 27 Jul 2016 11:44:34 -0400
parents
children 140290de7986
comparison
equal deleted inserted replaced
-1:000000000000 0:ef64d3752050
1 <project name="w4m.univariate" default="all">
2
3 <property name="tool.xml" value="univariate_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 ~ PLANEMO SERVE ~
72 ~~~~~~~~~~~~~~-->
73
74 <target name="planemo.serve" depends="planemo.conda.install">
75 <exec executable="planemo" failonerror="true">
76 <arg value="serve"/>
77 <arg value="--conda_prefix"/>
78 <arg value="${conda.dir}"/>
79 <arg value="--galaxy_branch"/>
80 <arg value="release_16.01"/>
81 <arg value="--conda_dependency_resolution"/>
82 <arg value="${tool.xml}"/>
83 </exec>
84 </target>
85
86
87 <!--~~~~~
88 ~ CLEAN ~
89 ~~~~~~-->
90
91 <target name="clean">
92 <delete dir="${conda.dir}"/>
93 </target>
94
95 </project>