-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJakefile
More file actions
44 lines (38 loc) · 1.14 KB
/
Copy pathJakefile
File metadata and controls
44 lines (38 loc) · 1.14 KB
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
39
40
41
42
43
44
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('deploy to local couch');
task('deploy-local', function(password) {
var deploy = require('./scripts/deploy.js').deploy;
deploy('127.0.0.1:5984', 'admin', password);
});
desc('deploy to iris couch');
task('deploy-iris', function(password) {
var deploy = require('./scripts/deploy.js').deploy;
deploy('sbisson.iriscouch.com', 'admin', password);
});