зеркало из https://github.com/nextcloud/news.git
be37aed9f5 | ||
---|---|---|
.. | ||
admin | ||
app | ||
build | ||
controller | ||
directive | ||
filter | ||
gui | ||
plugin | ||
service | ||
tests | ||
vendor | ||
.bowerrc | ||
.jshintrc | ||
Gruntfile.js | ||
README.md | ||
bower.json | ||
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