blob: 08df5540d4d3dd147fba49e15b952cf60de80561 [file] [log] [blame]
Matteo Scandolo68c2e722015-12-04 10:14:40 -08001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
7 src: 'src/',
Matteo Scandolo6c6b9282015-12-15 14:37:27 -08008 css: 'src/css/',
Matteo Scandolo54bc5f72016-05-18 14:06:45 -07009 sass: 'src/sass/',
Matteo Scandolo68c2e722015-12-04 10:14:40 -080010 scripts: 'src/js/',
11 tmp: 'src/.tmp',
12 dist: 'dist/',
13 api: '../../ngXosLib/api/',
Matteo Scandolo54bc5f72016-05-18 14:06:45 -070014 helpers: '../../../xos/core/xoslib/static/js/vendor/',
15 static: '../../../xos/core/xoslib/static/', // this is the django static folder
Matteo Scandoloea2448d2016-01-20 07:42:13 -080016 dashboards: '../../../xos/core/xoslib/dashboards/' // this is the django html folder
Matteo Scandolo68c2e722015-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});