Skip to content

Commit

Permalink
Add -node-spawn target.
Browse files Browse the repository at this point in the history
  • Loading branch information
reid committed Jun 20, 2010
1 parent e6ba7e7 commit cefb5cf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions componentbuild/shared/targets.xml
Expand Up @@ -31,6 +31,22 @@
<tstamp/>
<mkdir dir="${component.builddir}" />
<createdetails />
<antcall target="-node-spawn"/>
</target>

<target name="-node-spawn" description="Start NodeJS Servers" unless="node.spawn">
<if>
<not>
<http url="${node.jslint.url}"/>
</not>
<then>
<exec executable="node" spawn="true">
<arg value="${builddir}/lib/jslint/jslint-node.js"/>
</exec>
</then>
</if>
<!-- Don't try to start again: -->
<property name="node.spawn" value="true"/>
</target>

<target name="clean" description="Clean Local Build Directory" unless="clean.skip">
Expand Down

0 comments on commit cefb5cf

Please sign in to comment.