-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
33 lines (28 loc) · 945 Bytes
/
gulpfile.js
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
'use strict';
var gulp = require('gulp'),
shell = require('gulp-shell'),
runSequence = require('run-sequence');
gulp.paths = {
src: 'src',
dist: 'build',
tmp: '.tmp',
spec: 'spec'
};
require('require-dir')('./gulp_settings');
gulp.task('default', ['clean'], function () {
gulp.start('build');
});
// Aliases
gulp.task('b', ['build']);
gulp.task('s', function (callback) {
runSequence('clean', ['serve'], callback);
});
gulp.task('server', ['serve']);
gulp.task('t', ['cucumber']); // example: "gulp t --tags @ms-signUp,~@ms-signIn" OR "gulp t --tags @ms-signUp --tags ~@ms-signIn"
gulp.task('ta', ['tests-all']);
gulp.task('tns', ['tests-no-screenshots']); // run test without screenshots
gulp.task('tms', ['tests-make-screenshots']);
gulp.task('tcs', ['tests-compare-screenshots']);
gulp.task('u', ['unit']);
gulp.task('uw', ['unit-watch']);
// gulp.task('webdriver', ['webdriver-update', 'webdriver-standalone']);