Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 282 lines (219 sloc) 5.835 kb
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
1 # Requires
2 buildr = require 'buildr'
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
3 util = require 'util'
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
4
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
5 # Options
6 options =
7 watch: false
8 compress: false
9
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
10 # Configs
11 configs =
12 standard:
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
13 # Options
14 name: 'standard'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
15 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
16
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
17 # Paths
18 srcPath: __dirname+'/scripts/uncompressed'
19 outPath: __dirname+'/scripts/compressed'
20
21 # Checking
22 checkScripts: true
23 jshintOptions:
24 browser: true
25 laxbreak: true
26 boss: true
27 undef: true
28 onevar: true
29 strict: true
30 noarg: true
31
32 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
33 compressScripts: false # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
34
35 other: [
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
36
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
37 # -----------------------------
38 # JQUERY
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
39
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
40 {
41 # Options
42 name: 'html4+html5+jquery'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
43 watch: options.watch
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
44
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
45 # Paths
46 srcPath: __dirname+'/scripts/uncompressed'
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
47
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
48 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
49 compressScripts: options.compress # Array or true or false
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
50
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
51 # Order
52 scriptsOrder: [
53 'json2.js'
54 'history.adapter.jquery.js'
55 'history.html4.js'
56 'history.js'
57 ]
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
58
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
59 # Bundling
60 bundleScriptPath: __dirname+'/scripts/bundled/html4+html5/jquery.history.js'
61 }
62 {
63 # Options
64 name: 'html5+jquery'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
65 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
66
67 # Paths
68 srcPath: __dirname+'/scripts/uncompressed'
69
70 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
71 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
72
73 # Order
74 scriptsOrder: [
75 'history.adapter.jquery.js'
76 'history.js'
77 ]
78
79 # Bundling
80 bundleScriptPath: __dirname+'/scripts/bundled/html5/jquery.history.js'
81 }
82
83
84 # -----------------------------
85 # MOOTOOLS
86
87 {
88 # Options
89 name: 'html4+html5+mootools'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
90 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
91
92 # Paths
93 srcPath: __dirname+'/scripts/uncompressed'
94
95 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
96 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
97
98 # Order
99 scriptsOrder: [
100 'json2.js'
101 'history.adapter.mootools.js'
102 'history.html4.js'
103 'history.js'
104 ]
105
106 # Bundling
107 bundleScriptPath: __dirname+'/scripts/bundled/html4+html5/mootools.history.js'
108 }
109 {
110 # Options
111 name: 'html5+mootools'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
112 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
113
114 # Paths
115 srcPath: __dirname+'/scripts/uncompressed'
116
117 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
118 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
119
120 # Order
121 scriptsOrder: [
122 'history.adapter.mootools.js'
123 'history.js'
124 ]
125
126 # Bundling
127 bundleScriptPath: __dirname+'/scripts/bundled/html5/mootools.history.js'
128 }
129
130
131 # -----------------------------
132 # NATIVE
133
134 {
135 # Options
136 name: 'html4+html5+native'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
137 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
138
139 # Paths
140 srcPath: __dirname+'/scripts/uncompressed'
141
142 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
143 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
144
145 # Order
146 scriptsOrder: [
147 'json2.js'
148 'history.adapter.native.js'
149 'history.html4.js'
150 'history.js'
151 ]
152
153 # Bundling
154 bundleScriptPath: __dirname+'/scripts/bundled/html4+html5/native.history.js'
155 }
156 {
157 # Options
158 name: 'html5+native'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
159 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
160
161 # Paths
162 srcPath: __dirname+'/scripts/uncompressed'
163
164 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
165 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
166
167 # Order
168 scriptsOrder: [
169 'history.adapter.native.js'
170 'history.js'
171 ]
172
173 # Bundling
174 bundleScriptPath: __dirname+'/scripts/bundled/html5/native.history.js'
175 }
176
177
178 # -----------------------------
179 # RIGHT.JS
180
181 {
182 # Options
183 name: 'html4+html5+right'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
184 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
185
186 # Paths
187 srcPath: __dirname+'/scripts/uncompressed'
188
189 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
190 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
191
192 # Order
193 scriptsOrder: [
194 'json2.js'
195 'history.adapter.right.js'
196 'history.html4.js'
197 'history.js'
198 ]
199
200 # Bundling
201 bundleScriptPath: __dirname+'/scripts/bundled/html4+html5/right.history.js'
202 }
203 {
204 # Options
205 name: 'html5+right'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
206 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
207
208 # Paths
209 srcPath: __dirname+'/scripts/uncompressed'
210
211 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
212 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
213
214 # Order
215 scriptsOrder: [
216 'history.adapter.right.js'
217 'history.js'
218 ]
219
220 # Bundling
221 bundleScriptPath: __dirname+'/scripts/bundled/html5/right.history.js'
222 }
223
224
225 # -----------------------------
226 # ZEPTO
227
228 {
229 # Options
230 name: 'html4+html5+zepto'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
231 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
232
233 # Paths
234 srcPath: __dirname+'/scripts/uncompressed'
235
236 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
237 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
238
239 # Order
240 scriptsOrder: [
241 'json2.js'
242 'history.adapter.zepto.js'
243 'history.html4.js'
244 'history.js'
245 ]
246
247 # Bundling
248 bundleScriptPath: __dirname+'/scripts/bundled/html4+html5/zepto.history.js'
249 }
250 {
251 # Options
252 name: 'html5+zepto'
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
253 watch: options.watch
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
254
255 # Paths
256 srcPath: __dirname+'/scripts/uncompressed'
257
258 # Compression (without outPath only the generated bundle files are compressed)
d0e45650 »
2011-10-04 v1.7.1. Added a new native adapter. Provided bundled files. Added ses…
259 compressScripts: options.compress # Array or true or false
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
260
261 # Order
262 scriptsOrder: [
263 'history.adapter.zepto.js'
264 'history.js'
265 ]
266
267 # Bundling
268 bundleScriptPath: __dirname+'/scripts/bundled/html5/zepto.history.js'
269 }
270 ]
271
272 # Standard
273 standardConfig = configs.standard
274 standardConfig.successHandler = ->
275 for config in configs.other
276 buildrInstance = buildr.createInstance config
277 buildrInstance.process()
9e95d0f7 »
2011-09-06 v1.7.1-dev. pulled the adapters from v1.8, updated buildr, fixed jsli…
278
3818f029 »
2011-09-27 Made good progress. Building completed. Just needs testing now.
279 # Process
280 standardBuildr = buildr.createInstance configs.standard
281 standardBuildr.process()
Something went wrong with that request. Please try again.