Tom Payne
731fcd3d17
Move shader support code into ol.webgl
2013-03-23 18:29:26 +01:00
Tom Payne
4ec8bf2360
Configure Travis to build shaders with glsl-unit
2013-03-23 18:20:34 +01:00
Tom Payne
c48df12a33
Add infrastructure for glsl-unit
2013-03-23 17:45:44 +01:00
Bruno Binet
f395064721
Pep8ify build.py
...
Thanks a lot autopep8!
2013-03-21 16:38:48 +01:00
Tim Schaub
462659a9fc
Use index.html instead of example-list.html
...
The original decision to avoid index.html was because it only works with a build step. Since we've all accepted a build step, the more sensible name is index.html. Without this change, every hosted example has a link to http://openlayers.github.com/ol3/master/examples/example-list.html which 404s.
2013-03-19 12:17:00 -06:00
Tim Schaub
956c31b59d
Lint in build.py
2013-03-18 23:40:40 -06:00
Tim Schaub
d9380d0260
Copy social links script for hosted examples
2013-03-18 23:35:26 -06:00
Bruno Binet
07fb27db2c
Merge pull request #370 from bbinet/fix-missing-requires
...
Fix check for missing goog.require directives
2013-03-18 08:16:43 -07:00
Marc Jansen
b43f25971b
Use correct singular/plural of noun.
2013-03-15 09:35:33 +01:00
Bruno Binet
28155a4147
Fix check for missing goog.require directives
...
Take this example:
```
goog.require('ol.projection.addCommonProjections');
ol.projection.addCommonProjections();
```
Without this patch, the build_check_requires_timestamp target would report
that ``ol.projection`` is missing.
This is because ``ol.projection.addCommonProjections();`` would match both
``ol.projection.addCommonProjections and ``ol.projection`` provide
directives.
2013-03-14 15:22:00 +01:00
Bruno Binet
1eabd7f4e6
Fix check for unused goog.require directives
2013-03-14 11:30:05 +01:00
Tobias Bieniek
89ab68cde7
Replaced jasmine testing framework by mocha, expect.js and sinon
...
as discussed in #319
2013-03-13 04:32:43 +01:00
Tom Payne
a6395cd2f5
Merge pull request #312 from twpayne/speed-up-precommit
...
precommit target is too slow
2013-03-11 06:47:16 -07:00
Frederic Junod
6d90a9987d
Add (incomplete) bootstrap.js externs
2013-03-11 12:54:13 +01:00
Tom Payne
df6af7cafa
Replace precommit with separate check and integration-test targets
2013-03-11 12:21:13 +01:00
Frédéric Junod
7be0203cbe
Merge pull request #341 from fredj/jquery-examples
...
Add jquery 1.7.2 and adapt examples externs
2013-03-11 04:09:42 -07:00
Tom Payne
3934dbbcaf
Clean up fixme target
...
Correct regular expression
Use single quotes consistently
Use format strings
Correct grammar
2013-03-11 10:48:32 +01:00
Frederic Junod
35ef1c82e6
Add jquery 1.7.2 and adapt examples externs
...
Add jquery and update the externs for the examples (code from @bartvde).
The lib is saved into the repository to be able to run the examples
and the check-examples target offline.
2013-03-11 09:56:02 +01:00
Éric Lemoine
bbc8249e28
Check the examples in raw mode as well
2013-03-07 10:33:40 +01:00
Éric Lemoine
74b8fea679
Extent hostexamples target to copy ol and closure
2013-03-06 20:32:06 +01:00
Tom Payne
388eac3838
Merge pull request #293 from twpayne/fix-293
...
Build error
2013-03-06 07:56:23 -08:00
Tom Payne
220beb5177
Simple and whitespace builds use internal, not external, source
2013-03-06 16:00:15 +01:00
Frederic Junod
2b238c68c7
Add Font Awesome 3.0.2
2013-03-06 15:20:25 +01:00
Frederic Junod
a8ec0c95a0
Fix hostexamples target
...
Add missing bootstrap dir and examples.css
2013-03-06 15:19:47 +01:00
Tom Payne
bcea43dcd6
Don't lint Bootstrap JavaScript
2013-03-06 15:19:47 +01:00
Tom Payne
3b29ec610b
Merge pull request #280 from twpayne/check-requires-in-comments-fixes
...
Improve comment parsing when checking for requires
2013-03-05 03:05:52 -08:00
Tom Payne
254a96e036
Improve comment parsing when checking for requires
2013-03-05 11:51:53 +01:00
Éric Lemoine
82c2fc19a1
Check the examples against whitespace build first
...
This is to produce stack traces that are easier to understand when an example fails to load.
2013-03-05 11:37:30 +01:00
Éric Lemoine
aa9275b57f
Make hostexamples target more robust
2013-03-05 11:26:22 +01:00
Tom Payne
4eebe5aaf2
Merge spec and src lint targets
2013-03-04 20:51:27 +01:00
Tom Payne
9b122815ce
Lint specs with strict mode
2013-03-04 20:46:39 +01:00
Tom Payne
e776371f54
Check for requires in specs
2013-03-04 20:02:28 +01:00
Tom Payne
14e76b3a11
Don't assume that goog.requires are always first
2013-03-04 20:02:16 +01:00
Éric Lemoine
85db5273be
Merge pull request #257 from elemoine/verify-examples
...
Verify hosted examples at precommit time
2013-03-03 15:06:11 -08:00
Éric Lemoine
337fd11a05
Load the examples using PhantomJS
...
This commit adds a check-examples target to check that the hosted examples load without errors.
2013-03-03 19:46:09 +01:00
Tom Payne
b75298e957
Don't check for requires in comments
2013-03-03 18:29:16 +01:00
Éric Lemoine
bd67a14389
Make wms-capabilities example work when hosted
2013-03-03 17:10:50 +01:00
Éric Lemoine
6b9e79171b
SIMPLE and WHITESPACE builds
2013-03-03 15:05:02 +01:00
Tom Payne
8c2eb55f64
Work around extractall bug in older versions of Python
...
Python bug: http://bugs.python.org/issue4710
Refs #200
2013-02-18 19:15:31 +01:00
Tom Payne
cb9fbc3dec
Add Proj4js to test framework
2013-02-18 14:44:35 +01:00
Tom Payne
be48a30d6a
Add target to download and install Proj4js
2013-02-18 14:44:14 +01:00
Tom Payne
e6ed1c1a89
Temporarily work around pake's eager evaluation of variables in target names
2013-02-15 00:45:13 +01:00
Tom Payne
012cb501df
Don't re-lint files that have already passed after a lint failure
2013-02-15 00:33:05 +01:00
Tom Payne
83a00c13fa
Don't use problematic glob function
2013-02-12 23:03:15 +01:00
Tom Payne
9a3e090c2b
Run tests on Windows
2013-02-12 16:07:34 +01:00
Tom Payne
d828fee582
Set path to gjslint on Windows
2013-02-12 15:47:54 +01:00
Tom Payne
169555f2be
Use ifind rather than glob to work around Windows path separator nonsense
2013-02-12 15:31:30 +01:00
Tom Payne
a3e7528841
Guess paths to Windows binaries using environment variables
2013-02-12 15:30:36 +01:00
Tom Payne
0c09083eb8
Add missing whitespace to satisfy pep8
2013-02-12 15:28:20 +01:00
Marc Jansen
192f29513e
Merge pull request #189 from marcjansen/travis-tests
...
Fix the serve-precommit target. (r=@elemoine/@twpayne)
2013-02-12 06:10:26 -08:00