add info about install Jasmine and the precommit hook from build.py
This commit is contained in:
@@ -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
|
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`
|
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).
|
See also the test-specific [readme](https://github.com/openlayers/ol3/tree/master/test).
|
||||||
|
|
||||||
@@ -45,6 +45,10 @@ Then:
|
|||||||
|
|
||||||
$ ./build.py lint
|
$ ./build.py lint
|
||||||
|
|
||||||
|
## Run the precommit hook before pushing a commit:
|
||||||
|
|
||||||
|
$ ./build.py precommit
|
||||||
|
|
||||||
## Add examples
|
## Add examples
|
||||||
|
|
||||||
The examples are located in the `examples` directory. Adding a new example
|
The examples are located in the `examples` directory. Adding a new example
|
||||||
|
|||||||
Reference in New Issue
Block a user