1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-08-18 20:25:00 +02:00
Files
Nextcloud-News/js
Bernhard Posselt 901b51109e try to fix travis
2015-09-14 20:06:59 +02:00
..
2015-08-12 17:05:18 +02:00
2015-09-06 15:42:51 +02:00
2015-01-26 10:50:37 +01:00
2015-09-06 15:42:51 +02:00
2015-09-06 15:42:51 +02:00
2014-05-15 04:36:40 +02:00
2015-09-14 20:06:59 +02:00
2015-05-28 14:25:28 +02:00
2014-05-23 17:55:30 +02:00
2015-07-10 09:12:31 +02:00

JavaScript && CSS Development

Before starting, install nodejs and grunt-cli:

sudo npm -g install grunt-cli

then run:

npm install

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