view cat_gitrevision.xml @ 1:1db0bda09182 draft default tip

"planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
author mvdbeek
date Tue, 22 Feb 2022 20:55:03 +0000
parents 9b58e027065a
children
line wrap: on
line source

<tool id="print_gitrevision" name="Print GITREVISION" version="0.1.1" profile="20.01">
    <command detect_errors="exit_code"><![CDATA[
cp '$gitrevision' '$output'
    ]]></command>
    <configfiles>
        <configfile name="gitrevision">#echo open('/galaxy/server/GITREVISION').read()</configfile>
    </configfiles>
    <outputs>
        <data name="output" format="txt" label="GITREVISION"/>
    </outputs>
    <!-- If you want to run this test place a file with "my content" into /GITREVISION
    <tests>
        <test>
            <output name="output">
                <assert_contents>
                    <has_text text="my content"/>
                </assert_contents>
            </output>
        </test>
    </tests>
    -->
    <help><![CDATA[
Prints out the contents of /GITREVISION
    ]]></help>
</tool>