blob: 8b5034563c895d79474fdee7dc3d1eab4e1ad296 [file] [log] [blame]
Matteo Scandolo8cc22e42016-04-12 09:00:04 -07001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
7 src: 'src/',
8 css: 'src/css/',
9 sass: 'src/sass/',
10 scripts: 'src/js/',
11 tmp: 'src/.tmp',
12 dist: 'dist/',
13 api: '../../ngXosLib/api/',
Matteo Scandolo1ba8b302016-04-14 10:53:30 -070014 helpers: '../../../xos/core/xoslib/static/js/vendor/',
Matteo Scandolob7a86dc2016-04-14 11:46:30 -070015 helpersSourceMaps: '../../ngXosLib/xosHelpers/.tmp/maps/',
Matteo Scandolo8cc22e42016-04-12 09:00:04 -070016 static: '../../../xos/core/xoslib/static/', // this is the django static folder
17 dashboards: '../../../xos/core/xoslib/dashboards/' // this is the django html folder
18};
19
20wrench.readdirSyncRecursive('./gulp')
21.map(function(file) {
22 require('./gulp/' + file)(options);
23});
24
25gulp.task('default', function () {
26 gulp.start('build');
27});