1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 04:15:42 +02:00
Nextcloud-News/js
2013-04-15 18:11:38 +02:00
..
app fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +02:00
config fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +02:00
public fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +02:00
tests fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +02:00
vendor add support for relative dates, fix 2013-04-15 13:52:56 +02:00
Gruntfile.coffee add support for relative dates, fix 2013-04-15 13:52:56 +02:00
Makefile fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +02:00
package.json fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +02:00
README.md readme infos on status 2013-03-23 15:30:47 +01:00
test-results.xml fix unittest breakage errors in firefox and phantomjs, bump build tools 2013-04-15 18:11:38 +02: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