summaryrefslogtreecommitdiffstats
path: root/js/README.md
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-02-11 22:36:29 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-02-11 22:36:29 +0100
commit13e6e80281a0c7ddc980006ae39ae3bae4cb03d1 (patch)
tree767d7556cb419ab48bbb75e2563eeb1623ebd225 /js/README.md
parentc191ea52765c2515560eee01c62c61485b1ff6af (diff)
migrate js build system to gulp
Diffstat (limited to 'js/README.md')
-rw-r--r--js/README.md43
1 files changed, 10 insertions, 33 deletions
diff --git a/js/README.md b/js/README.md
index c03621fdc..2c25ce4ed 100644
--- a/js/README.md
+++ b/js/README.md
@@ -1,40 +1,17 @@
-# JavaScript && CSS Development
-Before starting, install nodejs and grunt-cli:
+# JavaScript
+Before starting, install nodejs and gulp-cli:
- sudo npm -g install grunt-cli
+ sudo npm -g install gulp-cli
then run:
npm install
+## Tasks
+The following tasks are available:
-## Building
-This sets up a watcher on file change and compiles CSS and JS:
-
- grunt dev
-
-If you don't want a watcher, just run:
-
- grunt
-
-## Testing
-Watch mode:
-
- grunt php
- grunt test
-
-Single run mode:
-
- grunt phpunit
- grunt ci-unit
-
-### Running e2e tests
-Install protractor and set up selenium:
-
- sudo npm install -g protractor
- sudo webdriver-manager update
-
-then the tests can be started with:
-
- grunt e2e
-
+* **Build the JavaScript**: gulp
+* **Watch for changes and build JavaScript**: gulp watch
+* **Run JavaScript unit tests**: gulp karma
+* **Watch for changes and run JavaScript unit tests**: gulp watch-karma
+* **Watch for changes and run PHP unit tests**: gulp watch-phpuni