-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jakefile
33 lines (28 loc) · 936 Bytes
/
Jakefile
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
desc('This is the default task.');
task('default', function (params) {
console.log('This is the default task.');
});
desc('run e2e tests');
task('e2e', function (params) {
jake.exec('testacular start ./config/testacular-e2e.conf.js',
{printStdout: true});
});
desc('run e2e tests continuously');
task('e2e-watch', function (params) {
jake.exec('testacular start ./config/testacular-e2e-watch.conf.js',
{printStdout: true});
});
desc('run unit tests');
task('ut', function (params) {
jake.exec('testacular start ./config/testacular.conf.js',
{printStdout: true});
});
desc('auto-run unit tests');
task('ut-watch', function (params) {
jake.exec('testacular start ./config/testacular-watch.js',
{printStdout: true});
});
desc('compile less to css');
task('less2css', function (password) {
jake.exec('lessc ./app/style/style.less ./app/style/style.css', {printStdout: true});
});