blob: 7bdc6e0b6349b12460cbb74596200dd0c5f67406 [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 Scandolod9e1c412015-12-15 14:37:27 -08008 css: 'src/css/',
Matteo Scandoloe3de73d2015-12-04 10:14:40 -08009 scripts: 'src/js/',
10 tmp: 'src/.tmp',
11 dist: 'dist/',
12 api: '../../ngXosLib/api/',
13 helpers: '../../ngXosLib/xosHelpers/src/',
Matteo Scandolo0c523482016-02-02 17:25:18 -080014 static: '../../../xos/core/xoslib/static/', // this is the django static folder from dev environment
Matteo Scandolo699d6b82016-01-20 07:42:13 -080015 dashboards: '../../../xos/core/xoslib/dashboards/' // this is the django html folder
Matteo Scandoloe3de73d2015-12-04 10:14:40 -080016};
17
18wrench.readdirSyncRecursive('./gulp')
19.map(function(file) {
20 require('./gulp/' + file)(options);
21});
22
23gulp.task('default', function () {
24 gulp.start('build');
25});