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