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