blob: e2a6f312477467af92ea6f77ab562aff0048a236 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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
|