Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 1.29 KB
<?xml version="1.0" encoding="UTF-8"?><!--ant-->
<project name="jquery.pagination" basedir="." default="dist">
<!-- Created by Gabriel Birke on 2010-04-16. -->
<!-- Copyright (c) 2010 describe europe Ltd. All rights reserved. -->
<property name="src.dir" value="${basedir}/src" />
<property name="build.dir" value="${basedir}/build" />
<property name="build.dist.dir" value="${build.dir}/${}" />
<fileset id="js.src" dir="${src.dir}" includes="*.js" />
<target name="check" description="Check code for coding standard violations">
<fail message="File contains console command. Console is not available in all browsers.">
<resourcecontains refid="js.src" substring="console" />
<target name="dist" depends="check">
<mkdir dir="${build.dir}" />
<!-- TODO: Add version number to zip file -->
<zip destfile="${build.dir}/${}.zip">
<fileset dir="${src.dir}" />
<!-- TODO: Build HTML instead -->
<fileset dir="${basedir}" includes="README.rst" />
<target name="clean">
<delete dir="${build.dir}" />
Something went wrong with that request. Please try again.