blob: b2cdab8e508f67ce1fd52394656441164592afb6 [file] [log] [blame]
Matteo Scandolodf35ca92016-02-25 09:19:41 -08001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
7 src: 'src/',
8 scripts: 'src/js/',
9 tmp: 'src/.tmp',
10 dist: 'dist/',
11 api: '../../ngXosLib/api/',
12 helpers: '../../ngXosLib/xosHelpers/src/',
13 static: '../../../xos/core/xoslib/static/', // this is the django static folder
14 dashboards: '../../../xos/core/xoslib/dashboards/' // this is the django html folder
15};
16
17wrench.readdirSyncRecursive('./gulp')
18.map(function(file) {
19 require('./gulp/' + file)(options);
20});
21
22gulp.task('default', function () {
23 gulp.start('build');
24});