Skip to content

Commit

Permalink
Build now stamps the version and build time at the top of each built …
Browse files Browse the repository at this point in the history
…JS and CSS that has a WET terms and conditions comment block.
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Sep 20, 2012
1 parent 90cbdbd commit 556f142
Show file tree
Hide file tree
Showing 47 changed files with 273 additions and 21 deletions.
43 changes: 37 additions & 6 deletions build.xml
@@ -1,24 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="wet-boew" default="default" basedir=".">
<description>Web Experience Toolkit</description>

<!-- Version and build time-->
<property name="wet-boew-build.version" value="v3.0.1a1"/>
<tstamp>
<format property="wet-boew-build.starttime" pattern="yyyy-MM-dd hh:mm aa" locale="en,CA"/>
</tstamp>

<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>

<target name="default" depends="clean,build,clean-css" description="Performs a Cleand and Build when calling ant without any target"></target>

<target name="build" depends="">
<echo level="info" message="---Building WET Core Framework---"/>
<ant dir="${src.dir}/js" antfile="build.xml" target="build" inheritAll="false"/>
<ant dir="${src.dir}/js" antfile="build.xml" target="build" inheritAll="false">
<propertyset>
<propertyref prefix="wet-boew-build"/>
</propertyset>
</ant>
<echo level="info" message="---Building Base CSS---"/>
<ant dir="${src.dir}/base" antfile="build.xml" target="build" inheritAll="false"/>
<ant dir="${src.dir}/base" antfile="build.xml" target="build" inheritAll="false">
<propertyset>
<propertyref prefix="wet-boew-build"/>
</propertyset>
</ant>
<echo level="info" message="---Building CSS Grid System---"/>
<ant dir="${src.dir}/grids" antfile="build.xml" target="build" inheritAll="false"/>
<ant dir="${src.dir}/grids" antfile="build.xml" target="build" inheritAll="false">
<propertyset>
<propertyref prefix="wet-boew-build"/>
</propertyset>
</ant>
<echo level="info" message="---Building GCWU Theme---"/>
<ant dir="${src.dir}/theme-gcwu-fegc" antfile="build.xml" target="build" inheritAll="false"/>
<ant dir="${src.dir}/theme-gcwu-fegc" antfile="build.xml" target="build" inheritAll="false">
<propertyset>
<propertyref prefix="wet-boew-build"/>
</propertyset>
</ant>
<echo level="info" message="---Building GCWU Intranet Theme---"/>
<ant dir="${src.dir}/theme-gcwu-intranet" antfile="build.xml" target="build" inheritAll="false"/>
<ant dir="${src.dir}/theme-gcwu-intranet" antfile="build.xml" target="build" inheritAll="false">
<propertyset>
<propertyref prefix="wet-boew-build"/>
</propertyset>
</ant>
<echo level="info" message="---Building CLF2 Theme---"/>
<ant dir="${src.dir}/theme-clf2-nsi2" antfile="build.xml" target="build" inheritAll="false"/>
<ant dir="${src.dir}/theme-clf2-nsi2" antfile="build.xml" target="build" inheritAll="false">
<propertyset>
<propertyref prefix="wet-boew-build"/>
</propertyset>
</ant>
</target>

<target name="clean-css">
Expand Down
5 changes: 5 additions & 0 deletions build/grids/css/util-ie-min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions build/grids/css/util-min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions build/js/css/pe-ap-ie-min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions build/js/css/pe-ap-min.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions build/js/dependencies/calendar-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions build/js/pe-ap-min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions build/js/polyfills/datalist-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 556f142

Please sign in to comment.