Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: v1.0
Fetching contributors…

Cannot retrieve contributors at this time

56 lines (46 sloc) 2.314 kb
<project name="SpludoCore" default="list" basedir=".">
<!-- This file is part of the Spludo Framework. -->
<!-- Copyright (c) 2009-2010 DracoBlue, http://dracoblue.net/ -->
<!-- -->
<!-- Licensed under the terms of MIT License. For the full copyright and license -->
<!-- information, please see the LICENSE file in the root folder. -->
<property file="build.properties" />
<description>
Spludo Core Build-Targets, should be included in a project specific build.xml!
</description>
<target name="core-test">
<exec executable="bash" dir="${spludo.directory}/spludotests">
<arg line="-c &quot;node ../build/run_tests.js&quot;" />
</exec>
</target>
<target name="core-test-xml">
<mkdir dir="${build}/core" />
<exec executable="bash" dir="${spludo.directory}/spludotests">
<arg line="-c &quot;node ../build/run_tests.js xml > ${build}/core/test_results.xml &quot;" />
</exec>
</target>
<target name="core-lint-xml">
<mkdir dir="${build}/core" />
<exec executable="bash" dir="${spludo.directory}">
<arg line="-c &quot;jsl -conf build/jsl/jsl.conf -process 'core/*.js' -nologo -nofilelisting -nocontext -nosummary > ${build}/core/jslint_report.txt &quot;" />
</exec>
<exec executable="bash" dir="${spludo.directory}">
<arg line="-c &quot;node build/convert_jslint_to_checkstyle.js ${build}/core/jslint_report.txt > ${build}/core/jslint_report.xml &quot;" />
</exec>
</target>
<target name="core-lint">
<exec executable="bash" dir="${spludo.directory}">
<arg line="-c &quot;jsl -conf build/jsl/jsl.conf -nologo -nofilelisting -process 'core/*.js'&quot;" />
</exec>
</target>
<target name="core-api">
<mkdir dir="${build}/core/api" />
<exec executable="java" dir="${spludo.directory}">
<arg
line="-jar ${jsdoctoolkit.directory}/jsrun.jar ${jsdoctoolkit.directory}/app/run.js -p -a -t=${jsdoctoolkit.directory}/templates/jsdoc -d=${build}/core/api core/ core/server core/console core/test" />
</exec>
</target>
<target name="core-clean">
<delete dir="${build}/core"/>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.