nextcloud-notes/js
Bernhard Posselt 1c4ae20dad implemented busineslayer methods 2013-04-03 17:50:29 +02:00
..
app fixed buildfile and added jshint 2013-04-03 14:02:40 +02:00
config fixed buildfile and added jshint 2013-04-03 14:02:40 +02:00
public fixed buildfile and added jshint 2013-04-03 14:02:40 +02:00
.gitignore added proper js layout 2013-04-03 13:26:09 +02:00
AUTHORS added proper js layout 2013-04-03 13:26:09 +02:00
Gruntfile.js fixed buildfile and added jshint 2013-04-03 14:02:40 +02:00
Makefile implemented busineslayer methods 2013-04-03 17:50:29 +02:00
README.md fixed buildfile and added jshint 2013-04-03 14:02:40 +02:00
package.json fixed buildfile and added jshint 2013-04-03 14:02:40 +02:00

README.md

Notes JavaScript development

You will need node.js version >= 0.8

Build js

To build the js run:

make

To build on changes run

make watch

Running unittests

Unittests are run with the testacular:

make testacular

afterwards the watch command can be run in a new terminal:

make watch

This will automatically execute unittests when a coffeescript file has been changed and saved.

PHPUnit

To run phpunittests once a file changed, simply run

make phpunit

Clear build and node_modules folders

To clear the build/ folder run:

make clean

Run js unittests

To run js unittests with the ci server, use

make test