changeset 1:c00848a8e302 draft

planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit 6f8da7673d82616b52a7efaf64e4a5ccf0c62bbf
author ethevenot
date Thu, 11 Jan 2018 10:02:02 -0500
parents ab2ee3414e4e
children 75a031fa583d
files Makefile build.xml
diffstat 2 files changed, 23 insertions(+), 103 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Thu Jan 11 10:02:02 2018 -0500
@@ -0,0 +1,23 @@
+all:
+
+test:
+	test/test-univ
+
+planemo-venv/bin/planemo: planemo-venv
+	. planemo-venv/bin/activate && pip install --upgrade pip setuptools
+	. planemo-venv/bin/activate && pip install planemo
+
+planemo-venv:
+	virtualenv planemo-venv
+
+planemolint: planemo-venv/bin/planemo
+	. planemo-venv/bin/activate && planemo lint
+
+planemotest: planemo-venv/bin/planemo
+	. planemo-venv/bin/activate && planemo test --conda_dependency_resolution --galaxy_branch release_17.05
+
+clean:
+	$(RM) -r $(HOME)/.planemo
+	$(RM) -r planemo-venv
+
+.PHONY:	all clean test planemolint planemotest
--- a/build.xml	Tue Oct 24 08:57:25 2017 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-<project name="w4m.univariate" default="all">
-
-	<property name="tool.xml" value="univariate_config.xml"/>
-	<property name="conda.dir" value="${user.home}/w4m-conda"/>
-
-	<!--~~~
-	~ ALL ~
-	~~~~~-->
-
-	<target name="all"/>
-
-	<!--~~~~
-	~ TEST ~
-	~~~~~-->
-
-	<target name="test" depends="plain.test,planemo.lint,planemo.test"/>
-
-	<!--~~~~~~~~~~
-	~ PLAIN TEST ~
-	~~~~~~~~~~~-->
-
-	<target name="plain.test">
-		<exec executable="test/test-univ" failonerror="true"/>
-	</target>
-
-	<!--~~~~~~~~~~~~
-	~ PLANEMO LINT ~
-	~~~~~~~~~~~~~-->
-
-	<target name="planemo.lint">
-		<exec executable="planemo" failonerror="true">
-			<arg value="lint"/>
-			<arg value="${tool.xml}"/>
-		</exec>
-	</target>
-
-	<!--~~~~~~~~~~~~
-	~ PLANEMO TEST ~
-	~~~~~~~~~~~~~-->
-
-	<target name="planemo.test" depends="planemo.conda.install">
-		<exec executable="planemo" failonerror="true">
-			<arg value="test"/>
-			<arg value="--conda_prefix"/>
-			<arg value="${conda.dir}"/>
-			<arg value="--galaxy_branch"/>
-			<arg value="release_16.07"/>
-			<arg value="--conda_dependency_resolution"/>
-			<arg value="${tool.xml}"/>
-		</exec>
-	</target>
-
-	<!--~~~~~~~~~~~~~~~~~~~~~
-	~ PLANEMO CONDA INSTALL ~
-	~~~~~~~~~~~~~~~~~~~~~~-->
-
-	<target name="planemo.conda.install" depends="planemo.conda.init">
-		<exec executable="planemo" failonerror="true">
-			<arg value="conda_install"/>
-			<arg value="--conda_prefix"/>
-			<arg value="${conda.dir}"/>
-			<arg value="${tool.xml}"/>
-		</exec>
-	</target>
-
-	<!--~~~~~~~~~~~~~~~~~~
-	~ PLANEMO CONDA INIT ~
-	~~~~~~~~~~~~~~~~~~~-->
-
-	<target name="planemo.conda.init">
-		<exec executable="planemo" failonerror="true">
-			<arg value="conda_init"/>
-			<arg value="--conda_prefix"/>
-			<arg value="${conda.dir}"/>
-		</exec>
-	</target>
-
-	<!--~~~~~~~~~~~~~
-	~ PLANEMO SERVE ~
-	~~~~~~~~~~~~~~-->
-
-	<target name="planemo.serve" depends="planemo.conda.install">
-		<exec executable="planemo" failonerror="true">
-			<arg value="serve"/>
-			<arg value="--conda_prefix"/>
-			<arg value="${conda.dir}"/>
-			<arg value="--galaxy_branch"/>
-			<arg value="release_16.01"/>
-			<arg value="--conda_dependency_resolution"/>
-			<arg value="${tool.xml}"/>
-		</exec>
-	</target>
-
-
-	<!--~~~~~
-	~ CLEAN ~
-	~~~~~~-->
-
-	<target name="clean">
-		<delete dir="${conda.dir}"/>
-	</target>
-
-</project>