diff --git a/readme.md b/readme.md index ee031aafbc..62b9f9ed5e 100644 --- a/readme.md +++ b/readme.md @@ -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. ), 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