news/js
Bernhard Posselt 752e45abfe allow by default 2013-09-14 05:22:28 +02:00
..
app allow by default 2013-09-14 05:18:44 +02:00
config
public allow by default 2013-09-14 05:22:28 +02:00
tests dont do pull to refresh when loading in items 2013-09-14 02:44:32 +02:00
vendor remove unneeded files 2013-09-12 13:11:05 +02:00
.bowerrc
.gitignore
Gruntfile.coffee
Makefile
README.md
bower.json
package.json

README.md

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