diff tool_dependencies.xml @ 0:b05f8bf909cf draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_golang_test commit 937392a63c5ed7cf8ca61f9e1a25bd419667b0ab
author iuc
date Sat, 24 Oct 2015 18:55:16 -0400
parents
children 9a8c3022f087
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Sat Oct 24 18:55:16 2015 -0400
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="golang" version="1.5.1">
+        <repository changeset_revision="89ef34e3f3b7" name="package_golang_1_5_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="golang_test" version="1.0">
+        <install version="1.0">
+            <actions>
+              <action type="download_by_url">https://github.com/erasche/bin-fasta/415756dcd3573f330a39b073c9a314b840c189e0/master.zip</action>
+
+              <action type="set_environment_for_install">
+                  <repository changeset_revision="89ef34e3f3b7" name="package_golang_1_5_1" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
+                    <package name="golang" version="1.5.1" />
+                  </repository>
+              </action>
+
+              <action type="shell_command">
+                  
+                export GOPATH=`pwd`/.. &amp;&amp; \
+                go get $(go list -f '{{ join .Imports " "  }}' .) &amp;&amp; \
+                go build -o bin_fasta bin_fasta.go
+                  
+              </action>
+
+                <action type="move_file">
+                    <source>bin_fasta</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+            </actions>
+        </install>
+        <readme>Testing go compilation</readme>
+    </package>
+</tool_dependency>