1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 04:15:42 +02:00
Nextcloud-News/js
2014-04-03 23:53:42 +02:00
..
app only instantiate one itemcontroller, prevent tons of requests when autopaging, fix 2014-04-03 23:53:42 +02:00
config update a lot of stuff, WIP 2014-03-26 01:34:31 +01:00
public only instantiate one itemcontroller, prevent tons of requests when autopaging, fix 2014-04-03 23:53:42 +02:00
tests dont collapse old item when opening a new one, fix 2014-03-08 21:54:06 +01:00
vendor update a lot of stuff, WIP 2014-03-26 01:34:31 +01:00
.bowerrc use bower for managing deps 2013-09-09 15:57:18 +02:00
.gitignore added gitignore file for js 2013-04-22 16:16:18 +02:00
bower.json use bower for managing deps 2013-09-09 15:57:18 +02:00
Gruntfile.coffee change email adress in copyright headers 2013-08-26 17:23:22 +02:00
Makefile use bower for managing deps 2013-09-09 15:57:18 +02:00
package.json update a lot of stuff, WIP 2014-03-26 01:34:31 +01: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