forked from SchizoDuckie/DuckieTV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
44 lines (37 loc) · 1.01 KB
/
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
34
35
36
37
38
39
40
41
42
43
/**
* Gulp file that prepares build output for DuckieTV.
*
* Usage:
*
* npm install
*
* to generate deployment code:
*
* gulp
*
* to generate deployment code and then installers, use:
* cd build
* ./build_all.sh
*/
var gulp = require('gulp'),
fs = require('fs'),
clean = require('gulp-clean');
gulp.task('clean', function() {
return gulp.src(['../deploy/browseraction', '../deploy/newtab', '../deploy/cordova', '../deploy/standalone'], {
read: false
})
.pipe(clean({
force: true
}));
});
/**
* Default and depoyment tasks:
* Concats scripts, dependencies, background page, styles, alters the main template to use dist versions and writes all of this the local dist/ directory
*/
gulp.task('default', ['clean' /*, 'scenenames'*/ ], function() {
gulp.start('manifests');
});
require('./build/gulp/download-scenenames.js');
require('./build/gulp/prepare-build.js');
require('./build/gulp/publish-webstore-nightly.js');
require('./build/gulp/xem.js');