d5940c63eb
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
42 lines
1.2 KiB
XML
42 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
Name: include/push.xml
|
|
Purpose: Declarations for the push build slave
|
|
Author: Mike Wetherell
|
|
RCS-ID: $Id$
|
|
Copyright: (c) 2007 Mike Wetherell
|
|
Licence: wxWidgets licence
|
|
-->
|
|
|
|
<bot xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<xi:include href="defs.xml"/>
|
|
|
|
<!--
|
|
Usage: <show log="filename" [ name="title" ]/>
|
|
|
|
A build step displayed as 'title' in the waterfall display, the output
|
|
comes from 'filename.log' in the uploaded log tarball, and the exit code
|
|
comes from 'filename.err'.
|
|
|
|
If the name attibute is omitted, it defaults to the filename.
|
|
-->
|
|
<xsl:template name="show">
|
|
<xsl:param name="content"/>
|
|
<xsl:param name="log"/>
|
|
<xsl:param name="name" select="$log"/>
|
|
<shellcommand>
|
|
<defaults content="{$content}">
|
|
<name><xsl:value-of select="$name"/></name>
|
|
<description><xsl:value-of select="$name"/></description>
|
|
<descriptionDone><xsl:value-of select="$name"/></descriptionDone>
|
|
<command><xsl:value-of select="$log"/></command>
|
|
</defaults>
|
|
<xsl:copy-of select="$content"/>
|
|
</shellcommand>
|
|
</xsl:template>
|
|
|
|
</bot>
|