forked from siddharthsudheer/trail-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
21 lines (21 loc) · 2.62 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"use strict";
var gulp = require("gulp");
var util = require("gulp-util");
var runSequence = require("run-sequence");
var config_1 = require("./tools/config");
var utils_1 = require("./tools/utils");
utils_1.loadTasks(config_1.default.SEED_TASKS_DIR);
utils_1.loadTasks(config_1.default.PROJECT_TASKS_DIR);
utils_1.loadCompositeTasks(config_1.default.SEED_COMPOSITE_TASKS, config_1.default.PROJECT_COMPOSITE_TASKS);
var firstRun = true;
gulp.task('clean.once', function (done) {
if (firstRun) {
firstRun = false;
runSequence('check.tools', 'clean.dev', 'clean.coverage', done);
}
else {
util.log('Skipping clean on rebuild');
done();
}
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3VscGZpbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJndWxwZmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkJBQTZCO0FBQzdCLGdDQUFrQztBQUNsQywwQ0FBNEM7QUFFNUMseUNBQW9DO0FBQ3BDLHVDQUE4RDtBQUc5RCxpQkFBUyxDQUFDLGdCQUFNLENBQUMsY0FBYyxDQUFDLENBQUM7QUFDakMsaUJBQVMsQ0FBQyxnQkFBTSxDQUFDLGlCQUFpQixDQUFDLENBQUM7QUFFcEMsMEJBQWtCLENBQUMsZ0JBQU0sQ0FBQyxvQkFBb0IsRUFBRSxnQkFBTSxDQUFDLHVCQUF1QixDQUFDLENBQUM7QUFNaEYsSUFBSSxRQUFRLEdBQUcsSUFBSSxDQUFDO0FBQ3BCLElBQUksQ0FBQyxJQUFJLENBQUMsWUFBWSxFQUFFLFVBQUMsSUFBUztJQUNoQyxFQUFFLENBQUMsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDO1FBQ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