Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (27 sloc) 1.758 kB
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiBase" default="local">
<description>Component Build File</description>
<property environment="env" />
<target name="build" depends="YuiModuleTargets.build">
<ant antfile="${buildfile.dir}/build-core.xml" target="yuitest_build_subtask" inheritAll="false" />
<ant antfile="${buildfile.dir}/build-node.xml" target="yuitest_build_subtask" inheritAll="false" />
<ant antfile="${buildfile.dir}/build-node-cli.xml" target="yuitest_build_subtask" inheritAll="false" />
<ant antfile="${buildfile.dir}/build-rhino-cli.xml" target="yuitest_build_subtask" inheritAll="false" />
</target>
<!-- override to make npm package -->
<target name="npmbuild" depends="all">
<echo>Creating NPM package directory</echo>
<mkdir dir="${global.build.npm}"/>
<copy file="${component.npm.base}/package.json" tofile="${global.build.npm}/package.json"/>
<mkdir dir="${global.build.npm}/lib"/>
<copy file="${global.build.base}/yuitest/yuitest-node.js" tofile="${global.build.npm}/lib/yuitest-node.js"/>
<concat destfile="${global.build.npm}/cli.js" fixlastline="true">
<header>#!/usr/bin/env node</header>
<filelist dir="${global.build.base}/yuitest/" files="yuitest-node-cli.js" />
</concat>
<!-- Unix can't deal with errant \n characters, to double-check here -->
<fixcrlf srcdir="${global.build.npm}" includes="**/*.js" eol="lf"/>
</target>
<property file="build.properties" />
<import file="${builddir}/2.x/bootstrap.xml" description="Default Build Properties and Targets" />
</project>
Jump to Line
Something went wrong with that request. Please try again.