blob: c825df857a94c262902a94fa6767ff2c26908bf6 [file] [log] [blame]
Matteo Scandolo8a64fa42016-01-21 11:21:03 -08001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
7 src: 'src/',
Matteo Scandolo70ac2162016-02-24 15:40:22 -08008 css: 'src/css/',
Matteo Scandolocdb3e842016-07-25 16:43:16 -07009 icon: 'src/icons',
Matteo Scandolo1df21732016-03-29 14:06:13 -070010 sass: 'src/sass/',
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080011 scripts: 'src/js/',
12 tmp: 'src/.tmp',
13 dist: 'dist/',
14 api: '../../ngXosLib/api/',
Matteo Scandolocdb3e842016-07-25 16:43:16 -070015 helpers: './src/vendor/ng-xos-lib/dist/',
Matteo Scandolo4ac9a0b2016-05-23 15:31:25 -070016 static: '../../../xos/core/xoslib/static/', // this is the django static folder
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080017 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});