Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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