Files
habitica/gulpfile.js
T
Blade Barringer 0a7b6b65e7 Revert "API v3 [WIP] (#6144)"
This reverts commit 28f2e9c356.
2016-05-23 07:53:14 -05:00

19 lines
646 B
JavaScript

/*
* 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('./tasks/gulp-newstuff');
require('./tasks/gulp-build');
require('./tasks/gulp-babelify');
} else {
require('glob').sync('./tasks/gulp-*').forEach(require);
require('gulp').task('default', ['test']);
}