add info about install Jasmine and the precommit hook from build.py

This commit is contained in:
Bart van den Eijnden
2013-01-28 15:18:15 +01:00
parent eb103d3bd1
commit c51b2b3fef

View File

@@ -33,7 +33,7 @@ You can turn off compilation by appending `?mode=RAW` to the URL, for example
Run the plovr web server (see above), and either open the `test/ol.html` file
in the browser (e.g. <http://localhost:8000/test/ol.html>), or run `./build.py test`
on the console (headless testing with PhantomJS).
on the console (headless testing with PhantomJS, make sure to install it first from http://phantomjs.org/download.html).
See also the test-specific [readme](https://github.com/openlayers/ol3/tree/master/test).
@@ -45,6 +45,10 @@ Then:
$ ./build.py lint
## Run the precommit hook before pushing a commit:
$ ./build.py precommit
## Add examples
The examples are located in the `examples` directory. Adding a new example