Mercurial > repos > ethevenot > profia
comparison build.xml @ 0:39ccace77270 draft
planemo upload for repository https://github.com/workflow4metabolomics/profia.git commit 2757590af8c7ba9833ba3bebd7da7f96b20d1128-dirty
author | ethevenot |
---|---|
date | Sun, 26 Mar 2017 17:37:12 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:39ccace77270 |
---|---|
1 <project name="w4m.profia" default="all"> | |
2 | |
3 <property name="tool.xml" value="profia_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-profia" 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 <available file="${conda.dir}" property="conda.is.installed"/> | |
71 <target name="planemo.conda.init" unless="conda.is.installed"> | |
72 <exec executable="planemo" failonerror="true"> | |
73 <arg value="conda_init"/> | |
74 <arg value="--conda_prefix"/> | |
75 <arg value="${conda.dir}"/> | |
76 </exec> | |
77 </target> | |
78 | |
79 <!--~~~~~ | |
80 ~ CLEAN ~ | |
81 ~~~~~~--> | |
82 | |
83 <target name="clean"> | |
84 <delete dir="${conda.dir}"/> | |
85 </target> | |
86 | |
87 </project> |