blob: eca4e45d23368a5424d2d7059dd87f22f69cdc03 [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 Scandolob7c91cf2016-03-29 14:23:20 -07008 css: 'src/css/',
Arpit Agarwalfecac782016-07-18 17:30:32 -07009 icon: 'src/icons',
Matteo Scandolob7c91cf2016-03-29 14:23:20 -070010 sass: 'src/sass/',
Matteo Scandolo68c2e722015-12-04 10:14:40 -080011 scripts: 'src/js/',
12 tmp: 'src/.tmp',
13 dist: 'dist/',
14 api: '../../ngXosLib/api/',
Matteo Scandoloa3839e32016-04-28 16:20:53 -070015 helpers: '../../../xos/core/xoslib/static/js/vendor/',
Matteo Scandoloea2448d2016-01-20 07:42:13 -080016 static: '../../../xos/core/xoslib/static/', // this is the django static folder
17 dashboards: '../../../xos/core/xoslib/dashboards/' // this is the django html folder
Matteo Scandolo68c2e722015-12-04 10:14:40 -080018};
19
20wrench.readdirSyncRecursive('./gulp')
21.map(function(file) {
22 require('./gulp/' + file)(options);
23});
24
25gulp.task('default', function () {
26 gulp.start('build');
27});