Stylesheet: /build/tests/stubs/prepare-wired.xslt
not used
not used
not used
01: <?xml version="1.0" encoding="UTF-8"?> 02: <xsl:stylesheet 03: xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 04: version='2.0' 05: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 06: xmlns:zenta="http://magwas.rulez.org/zenta"> 07: 08: <xsl:param name="targetdir"/> 09: 10: <xsl:template match="source" mode="prepare"/> 11: 12: <xsl:template match="source[@type='github']" mode="prepare"> 13: <xsl:variable name="targetdir" select="concat('inputs/',@repo)"/> 14: <xsl:value-of select="concat('rm -rf ',$targetdir,';git clone --branch ',@branch,' [email protected]:',@repo,'.git ',$targetdir,' ')"/> 15: </xsl:template> 16: 17: <xsl:template match="sources" mode="prepare"> 18: <xsl:apply-templates select="*" mode="prepare"/> 19: </xsl:template> 20: 21: </xsl:stylesheet> 22: