Tom Payne
9494321c91
Use a Python script to generate requireall.js
...
This is needed to work around platform variations in the sort command.
2012-09-29 12:31:31 +02:00
Tom Payne
71e42b2448
Refactor build system
...
This rather large commit refactors the build system to solve a number of
problems:
- Object literal types are now declared in just one place
- There are no more circular dependencies
- There is no need for concealed subclasses in build-standalone mode
When building in standalone mode, you need to include the source in
build/src/external. This declares object literal types as externs so
that their properties are not renamed.
When building with the application, you need to include the source in
build/src/internal. This declares object literal types as typedefs so
that their properties can be renamed and removed.
Note also that ol.MapOptions has been merged into ol.Map, with some
renaming.
2012-09-29 11:51:53 +02:00
Tom Payne
012b8a584a
Add serve-precommit target for Travis
2012-09-29 11:51:53 +02:00
Tom Payne
b6c06f4760
Generate externs and typedefs
2012-09-28 21:55:48 +02:00
Éric Lemoine
9d8155cf9f
Move git-update-ghpages from tools to bin
2012-09-28 16:31:45 +02:00
Tom Payne
3e824fc683
Avoid running build twice
2012-09-28 15:52:16 +02:00
Tom Payne
da5ad0bf20
Minify CSS with Closure Stylesheets
...
See https://code.google.com/p/closure-stylesheets/
2012-09-28 14:16:25 +02:00
Éric Lemoine
896f5203db
Change examples directory names to "examples"
2012-09-28 14:01:51 +02:00
Éric Lemoine
310d5bfeaa
The serve target needs demos as its source
2012-09-28 13:54:51 +02:00
Éric Lemoine
11915549a3
Make make lint ignore demos/*.combined.js file
2012-09-28 13:52:55 +02:00
Éric Lemoine
e3cef24f5f
Change examples/demos structure
2012-09-28 13:33:05 +02:00
Tom Payne
74f87995c8
Build doc in build/gh-pages directory
2012-09-28 12:25:06 +02:00
Éric Lemoine
e93bb6a39b
Add a gh-pages target to Makefile
2012-09-28 11:26:00 +02:00
Éric Lemoine
a347454aa3
JSDoc output goes to build/<branch_name>/apidoc
2012-09-28 11:26:00 +02:00
Éric Lemoine
a0f747379b
Make Travis also build the doc
2012-09-27 18:01:31 +02:00
Tom Payne
5ddbf17c8d
Run lint on specs
2012-09-27 12:42:13 +02:00
Tom Payne
c908e88dce
Fix overly-aggressive clean step
2012-09-27 12:42:13 +02:00
Tom Payne
8ffdaad5f5
Only re-run lint when source files have changed
2012-09-27 09:36:55 +02:00
Tom Payne
546f1f4b9f
Add initial exports and externs
2012-09-26 18:28:06 +02:00
Tom Payne
5db8724b9c
Use consistent whitespace in Makefile
2012-09-26 11:19:14 +02:00
Tom Payne
0eeae68ee9
Don't build demos with simple optimizations
2012-09-26 11:19:14 +02:00
Tom Payne
a32460945d
Use Plovr built on 2012-09-25
2012-09-25 19:51:56 +02:00
ahocevar
36a8dd81ee
Missing change from previous commit
...
This should have gone in with ef383ee7b6 .
2012-09-25 19:35:12 +02:00
ahocevar
ef383ee7b6
Examples using a script loader
...
This makes it possible to run examples hosted on hosts other than localhost. To get that version by default, debug.html has been renamed to index.html.
2012-09-25 19:06:29 +02:00
Éric Lemoine
4a6b13ed39
Add a download plovr target to Makefile
2012-09-25 16:06:37 +02:00
Éric Lemoine
0130915f00
Makefile - clean target adjustments
2012-09-25 15:38:09 +02:00
Éric Lemoine
e3de55e7cb
Makefile - serve target needs build/ol-all.js as a source
2012-09-25 15:37:13 +02:00
Tom Payne
f2cd64f66f
Add precommit target
2012-09-25 12:25:14 +02:00
Tom Payne
ae34e8d261
Add full screen demo
2012-09-25 10:59:38 +02:00
Éric Lemoine
2aac0140c1
add a test target to Makefile
2012-09-24 22:34:09 +02:00
Tom Payne
bd5ef6b361
Make path to jsdoc configurable
2012-09-24 18:30:32 +02:00
Tom Payne
b7020750ac
Add initial exports
2012-09-24 18:25:19 +02:00
Tom Payne
d7c6ce19a9
Rename build/ol-compiled.js to build/ol.js
2012-09-24 18:25:19 +02:00
Tim Schaub
2add7288e5
Doc target for building with JSDoc 3.
...
This assumes jsdoc is on the path.
2012-09-24 17:25:33 +02:00
Tom Payne
bb6f4e2ea1
Remove webgl-debug.js for now
2012-09-24 14:40:50 +02:00
Tom Payne
048d19e73a
Clean up whitespace
2012-09-24 14:37:27 +02:00
Tom Payne
f8c31ba45c
s/ol3/ol/
2012-09-24 14:21:41 +02:00
Tom Payne
6737220b83
Remove ol namespace
2012-09-24 14:07:11 +02:00
Tom Payne
211f93248c
Store webgl-debug.js in build
2012-08-30 15:14:59 +02:00
Tom Payne
4aff22e980
ol3 is now internal, ol is now external
...
As discussed with @ahocevar, @elemoine and @tschaub.
2012-08-29 20:46:42 +02:00
Tom Payne
9b4b35f9eb
Add two layers demo
2012-08-13 21:32:41 +02:00
Tom Payne
e78986c954
Add Proj4js demo
2012-08-08 00:44:15 +02:00
Tom Payne
21cb524a53
Better clean up in Makefile
2012-08-08 00:37:25 +02:00
Tom Payne
5062b71b3c
Add simplified API demo
2012-08-07 20:31:09 +02:00
Tom Payne
6cb362218b
Add initial simplified API
2012-08-07 20:29:19 +02:00
Tom Payne
991c61110b
Use simple optimizations instead of whitespace only
2012-08-07 16:04:15 +02:00
Tom Payne
0a4d31417f
Clean up build system and add demos
2012-08-07 14:17:15 +02:00
Tom Payne
fbdc0a1ce1
Clean up and simplify build system
2012-08-02 14:02:37 +02:00
Tom Payne
5c30902de0
Clean up Makefile
2012-07-29 17:09:32 +02:00
Tom Payne
a4727c4ef7
Add missing dependencies
2012-07-28 23:26:34 +02:00