blob: de911e9d816252002b6a83040118aa26d4a5bb38 [file] [log] [blame]
Matteo Scandolo7cd88ba2015-12-16 14:23:08 -08001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
7 src: 'src/',
8 css: 'src/css/',
9 scripts: 'src/js/',
10 tmp: 'src/.tmp',
11 dist: 'dist/',
12 api: '../../ngXosLib/api/',
13 helpers: '../../ngXosLib/xosHelpers/src/',
14 static: '../../static/', // this is the django static folder
15 dashboards: '../../dashboards/' // this is the django html folder
16};
17
18wrench.readdirSyncRecursive('./gulp')
19.map(function(file) {
20 require('./gulp/' + file)(options);
21});
22
23gulp.task('default', function () {
24 gulp.start('build');
25});