-->
-<!-- import base stylesheet -->
-<xsl:import href="../../../../vendor/docbook/docbook-xsl/fo/docbook.xsl"/>
+<!-- import base stylesheet. This assumes the 'workspace' dir is next to the 'tools' one -->
+<xsl:import href="../../../../tools/vendor/docbook/docbook-xsl/fo/docbook.xsl"/>
<!-- customization vars -->
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
);
protected static $options = array(
'repo' => 'https://github.com/gggeek/phpxmlrpc',
- 'branch' => 'master'
+ 'branch' => 'master',
+ 'workspace' => null
);
public static function libVersion()
public static function workspaceDir()
{
- return self::buildDir().'/workspace';
+ return self::option('workspace') != '' ? self::option('workspace') : self::buildDir().'/workspace';
}
public static function toolsDir()
// copy workspace dir into dist dir, without git
pake_mkdirs(Builder::distDir());
$finder = pakeFinder::type('any')->ignore_version_control();
+ /// @todo make sure we don't recurse - avoid 'build' dir
pake_mirror($finder, realpath(Builder::workspaceDir()), realpath(Builder::distDir()));
- // remove unwanted files from dist dir
+ // @todo remove unwanted files from dist dir - files and dirs from .gitattributes
// also: do we still need to run dos2unix?