1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-13 22:15:43 +02:00
Nextcloud-News/js
2013-04-11 20:32:34 +02:00
..
app properly clear the query cache 2013-04-11 20:32:34 +02:00
config added more code for adding feeds and folders 2013-04-11 19:34:24 +02:00
public properly clear the query cache 2013-04-11 20:32:34 +02:00
tests properly clear the query cache 2013-04-11 20:32:34 +02:00
vendor added more code for adding feeds and folders 2013-04-11 19:34:24 +02:00
Gruntfile.coffee added more code for adding feeds and folders 2013-04-11 19:34:24 +02:00
Makefile directive for testacular unit test with phantomjs 2013-03-21 18:03:56 +01:00
package.json prework for adding folders 2013-04-08 17:56:53 +02:00
README.md readme infos on status 2013-03-23 15:30:47 +01:00

News CoffeeScript/JavaScript development

You will need node.js version >= 0.8

Compile coffeescript

To compile the coffeescript run:

make

If you want to autocompile on change 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 compiled folder

To clear the build/ folder run:

make clean

Run js unittests

To run js unittests with the ci server, use

make test