blob: 08df5540d4d3dd147fba49e15b952cf60de80561 [file] [log] [blame]
Matteo Scandolo74802522016-02-25 09:19:41 -08001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
7 src: 'src/',
Matteo Scandoloc0c6e062016-02-25 09:38:59 -08008 css: 'src/css/',
Matteo Scandolof6ba6662016-04-22 09:47:50 -07009 sass: 'src/sass/',
Matteo Scandolo74802522016-02-25 09:19:41 -080010 scripts: 'src/js/',
11 tmp: 'src/.tmp',
12 dist: 'dist/',
13 api: '../../ngXosLib/api/',
Matteo Scandolof6ba6662016-04-22 09:47:50 -070014 helpers: '../../../xos/core/xoslib/static/js/vendor/',
Matteo Scandolo74802522016-02-25 09:19:41 -080015 static: '../../../xos/core/xoslib/static/', // this is the django static folder
16 dashboards: '../../../xos/core/xoslib/dashboards/' // this is the django html folder
17};
18
19wrench.readdirSyncRecursive('./gulp')
20.map(function(file) {
21 require('./gulp/' + file)(options);
22});
23
24gulp.task('default', function () {
25 gulp.start('build');
26});