blob: 3f1e89903b525f983ce13cefffbc7c9bff99772e [file] [log] [blame]
Matteo Scandolobe9b13d2016-01-21 11:21:03 -08001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
7 src: 'src/',
Matteo Scandolo16763e92016-02-24 15:40:22 -08008 css: 'src/css/',
Matteo Scandolo871f9cd2016-03-29 14:06:13 -07009 sass: 'src/sass/',
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080010 scripts: 'src/js/',
11 tmp: 'src/.tmp',
12 dist: 'dist/',
13 api: '../../ngXosLib/api/',
14 helpers: '../../ngXosLib/xosHelpers/src/',
Matteo Scandolo16763e92016-02-24 15:40:22 -080015 static: '../../../xos/core/xoslib/static/', // this is the django static folder from dev environment
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080016 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});