mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-10 04:15:42 +02:00
.. | ||
admin | ||
app | ||
build | ||
controller | ||
directive | ||
filter | ||
gui | ||
service | ||
tests | ||
vendor | ||
.bowerrc | ||
.jshintrc | ||
bower.json | ||
Gruntfile.js | ||
karma.conf.js | ||
package.json | ||
protractor.conf.js | ||
README.md |
JavaScript && CSS Development
Before starting, install nodejs 0.10 and grunt-cli:
sudo npm -g install grunt-cli
then run:
npm install
Building
Watch mode:
grunt dev
Single run mode:
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