Skip to content
Newer
Older
100644 97 lines (79 sloc) 3.83 KB
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 8, 2010
1 <?xml version="1.0" ?>
2
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored Jun 1, 2010
3 <project name="PIE" default="build" basedir=".">
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
4
743eb63 Add build number to comment top of htc file
Jason Johnston authored Jul 11, 2010
5 <property name="version" value="1.0beta1" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
6 <property name="build_dir" value="./build" />
7 <property name="src_dir" value="./sources" />
8
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored May 25, 2010
9 <target name="clean">
10 <delete dir="${build_dir}" />
11 </target>
12
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored Jun 2, 2010
13 <target name="build-uncompressed">
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
14 <mkdir dir="${build_dir}" />
15 <concat destfile="${build_dir}/script_uncompressed.js">
16 <fileset file="${src_dir}/PIE_open.js" />
17 <fileset file="${src_dir}/Util.js" />
18 <fileset file="${src_dir}/Length.js" />
19 <fileset file="${src_dir}/BgPosition.js" />
20 <fileset file="${src_dir}/Angle.js" />
21 <fileset file="${src_dir}/Color.js" />
22 <fileset file="${src_dir}/Tokenizer.js" />
d6baacf Abstract out the creation of StyleInfo classes. ~300 byte file size i…
Jason Johnston authored Jun 3, 2010
23 <fileset file="${src_dir}/StyleInfoBase.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
24 <fileset file="${src_dir}/BackgroundStyleInfo.js" />
25 <fileset file="${src_dir}/BorderStyleInfo.js" />
26 <fileset file="${src_dir}/BorderRadiusStyleInfo.js" />
27 <fileset file="${src_dir}/BorderImageStyleInfo.js" />
28 <fileset file="${src_dir}/BoxShadowStyleInfo.js" />
bf3d9f2 Fix bug where css3 renderings would not get updated when the target e…
Jason Johnston authored Jun 3, 2010
29 <fileset file="${src_dir}/VisibilityStyleInfo.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
30 <fileset file="${src_dir}/RendererBase.js" />
31 <fileset file="${src_dir}/RootRenderer.js" />
37db46d Split background and border rendering into separate renderers; beside…
Jason Johnston authored May 23, 2010
32 <fileset file="${src_dir}/BackgroundRenderer.js" />
33 <fileset file="${src_dir}/BorderRenderer.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
34 <fileset file="${src_dir}/BorderImageRenderer.js" />
ad351e8 Split box-shadow renderer into two renderers for outset and inset sha…
Jason Johnston authored May 23, 2010
35 <fileset file="${src_dir}/BoxShadowOutsetRenderer.js" />
36 <fileset file="${src_dir}/BoxShadowInsetRenderer.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
37 <fileset file="${src_dir}/PIE_close.js" />
38 <fileset file="${src_dir}/event_handlers.js" />
39 </concat>
40
41 <concat destfile="${build_dir}/PIE_uncompressed.htc">
42 <fileset file="${src_dir}/htc_open.txt" />
43 <fileset file="${build_dir}/script_uncompressed.js" />
44 <fileset file="${src_dir}/htc_close.txt" />
45 </concat>
743eb63 Add build number to comment top of htc file
Jason Johnston authored Jul 12, 2010
46
47 <replace file="${build_dir}/PIE_uncompressed.htc" token="$Version$" value="${version}"/>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
48 </target>
49
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored Jun 2, 2010
50 <target name="build-compressed" depends="build-uncompressed">
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored Apr 17, 2010
51 <exec executable="java">
52 <arg line='-jar tools/compiler.jar
53 --js ${build_dir}/script_uncompressed.js
54 --js ${src_dir}/closure_preservefunctions.js
55 --module "script_compressed:1"
56 --module "temp:1"
57 --module_output_path_prefix ${build_dir}/
58 --compilation_level ADVANCED_OPTIMIZATIONS
59 --externs ${src_dir}/closure_externs.js' />
60 </exec>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
61
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored Apr 17, 2010
62 <!--
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
63 <exec executable="yuicompressor">
64 <arg line="${build_dir}/script_uncompressed.js -o ${build_dir}/script_compressed.js" />
65 </exec>
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored Apr 17, 2010
66 -->
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
67
68 <concat destfile="${build_dir}/PIE.htc">
69 <fileset file="${src_dir}/htc_open.txt" />
70 <fileset file="${build_dir}/script_compressed.js" />
71 <fileset file="${src_dir}/htc_close.txt" />
72 </concat>
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored May 8, 2010
73
743eb63 Add build number to comment top of htc file
Jason Johnston authored Jul 12, 2010
74 <replace file="${build_dir}/PIE.htc" token="$Version$" value="${version}"/>
75
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored May 8, 2010
76 <delete file="${build_dir}/temp.js" />
77 <delete file="${build_dir}/script_uncompressed.js" />
78 <delete file="${build_dir}/script_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
79 </target>
80
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored May 8, 2010
81
82 <target name="copy-wrappers">
83 <copy todir="${build_dir}">
84 <fileset dir="${src_dir}/wrappers" />
85 </copy>
86 </target>
87
88
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored Jun 2, 2010
89 <target name="build" depends="build-uncompressed,build-compressed" />
90
91 <target name="package" depends="clean,build,copy-wrappers">
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored May 26, 2010
92 <!-- Create distribution bundle -->
93 <zip destfile="${build_dir}/PIE.zip" basedir="${build_dir}"/>
94 </target>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored Apr 9, 2010
95
96 </project>
Something went wrong with that request. Please try again.