1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 04:15:42 +02:00
Nextcloud-News/js
2013-06-07 19:02:54 +02:00
..
app add shortcut to open current item 2013-06-07 19:02:54 +02:00
config updated build tools, testacular is now named karma 2013-06-05 23:26:20 +02:00
public add shortcut to open current item 2013-06-07 19:02:54 +02:00
tests Issue Improve RESTful urls for web backend 2013-05-27 17:01:48 +02:00
vendor remove clientside hashing, fix 2013-04-18 17:47:03 +02:00
.gitignore added gitignore file for js 2013-04-22 16:16:18 +02:00
Gruntfile.coffee updated build tools, testacular is now named karma 2013-06-05 23:26:20 +02:00
Makefile updated build tools, testacular is now named karma 2013-06-05 23:26:20 +02:00
package.json updated build tools, testacular is now named karma 2013-06-05 23:26:20 +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