Commit Graph

96 Commits

Author SHA1 Message Date
bill-chadwick
51c8bcae57 Updates for building on Windows using Cygwin.
Tested on Windows 7.
2015-05-14 07:08:16 +01:00
Éric Lemoine
0f2c3bd45f Make host-examples target copy index.js 2015-04-26 21:51:37 +02:00
Éric Lemoine
4c2c21a5d6 Add Makefile 2015-04-26 20:20:59 +02:00
Tom Payne
3d560a08e3 Remove Makefile 2012-11-09 14:05:13 +01:00
Tim Schaub
e57f8b45a6 Merge pull request #78 from geops/api-docs-jsdoc
Taking over new template from jsdoc but keep modifications by OpenLayers as much as possible
2012-10-31 13:38:24 -07:00
augustus
64a252093c Taking over new template from jsdoc but keep modifications by OpenLayers as much as possible 2012-10-31 09:39:55 +01:00
Tom Payne
7af152cc49 Update Plovr version 2012-10-29 14:09:37 +01:00
Éric Lemoine
49f717eae6 Merge pull request #69 from elemoine/exports-files
Granularize the exports
2012-10-24 13:52:56 -07:00
Éric Lemoine
576c54eb61 Move object literal exports to their own file 2012-10-24 17:05:33 +02:00
Éric Lemoine
d81b232587 Granularize the exports
This commit decomposes exports.txt into multiple, per-component, export files.  This will be required for custom builds;
2012-10-20 22:31:33 +02:00
Éric Lemoine
3e3b8d6f8b Use OpenLayers 2 examples index 2012-10-19 21:56:59 +02:00
Tom Payne
cd7627f626 Lint examples 2012-10-18 13:48:52 +02:00
Tom Payne
0e81f67a00 Host example index 2012-10-17 11:36:54 +02:00
Tom Payne
e9dbb00039 Pass query string through example index
This is so that visiting

    /examples/index.html?mode=RAW&Debug=true

will automatically add ?mode=RAW&Debug=true to all links in the
generated index.
2012-10-17 11:31:40 +02:00
Tom Payne
129578a515 Build examples index 2012-10-17 11:22:11 +02:00
Éric Lemoine
1ac188c906 Add a hostexamples target to Makefile
This target copies the ol built files, examples, and loader script to the build/gh-pages directory, making it possible to host our examples on gh-pages.
2012-10-16 21:56:45 +02:00
Tom Payne
9d253ab6bb Refactor exports and externs 2012-10-04 15:11:26 +02:00
tschaub
671c902d72 Creating the target directory for api docs 2012-10-01 16:35:38 -06:00
Tom Payne
ef1d05fe86 Ensure target is deleted when compile fails 2012-09-29 16:04:13 +02:00
Tom Payne
3ed65c0d98 Correct clean target 2012-09-29 16:00:47 +02:00
Tom Payne
8387f74a7b Generate exports automatically from src/ol/exports.txt 2012-09-29 15:17:40 +02:00
Tom Payne
c7c93ce099 Consistent nomenclature 2012-09-29 14:42:12 +02:00
Tom Payne
4e5765f42f Add missing dependencies to examples/%.combined.js target 2012-09-29 13:41:23 +02:00
Tom Payne
1ec4ac7d63 Add build-examples to precommit target 2012-09-29 13:41:23 +02:00
Tom Payne
0f9578a694 Add build-examples target 2012-09-29 13:41:22 +02:00
Tom Payne
78317cdc5d Change order of precommit steps 2012-09-29 13:21:58 +02:00
Tom Payne
83a3306bb7 Only rebuild doc when source changes 2012-09-29 12:33:01 +02:00
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