forked from HabitRPG/habitica
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.js
More file actions
20 lines (18 loc) · 712 Bytes
/
gulpfile.js
File metadata and controls
20 lines (18 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* Note: You probably don't need to edit this file. Instead, add your gulp
* tasks with the ./tasks directory, where tasks are grouped by their
* particular purpose. If you feel like your task doesn't fit within the
* existing files, feel free to create a "gulp-thing.js" file within that
* directory, and it will automatically be included.
*/
require('babel-register');
if (process.env.NODE_ENV === 'production') {
require('./gulp/gulp-semanticui');
require('./gulp/gulp-apidoc');
require('./gulp/gulp-newstuff');
require('./gulp/gulp-build');
require('./gulp/gulp-babelify');
} else {
require('glob').sync('./gulp/gulp-*').forEach(require);
require('gulp').task('default', ['test']);
}