view tool_dependencies.xml @ 1:9a8c3022f087 draft default tip

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 19:00:01 -0400
parents b05f8bf909cf
children
line wrap: on
line source

<?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/archive/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>