tasks/js
2014-11-09 19:20:18 +01:00
..
app Prevent doubling of tasks in week view 2014-11-09 19:20:18 +01:00
public Prevent doubling of tasks in week view 2014-11-09 19:20:18 +01:00
vendor Revert to older AngularJS version 2014-08-27 23:42:02 +02:00
Gruntfile.coffee Initial Commit 2014-03-28 20:11:56 +01:00
package.json Initial Commit 2014-03-28 20:11:56 +01:00
README.md Initial Commit 2014-03-28 20:11:56 +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