blob: e514d7a5bbad91c57ba3269fe1f791804df40cd1 [file] [log] [blame]
Matteo Scandolo3bb37fe2015-11-04 12:41:13 +01001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
Matteo Scandolof043aae2016-01-20 16:52:51 -08007 ngXosVendor: '../../xos/core/xoslib/static/js/vendor/', //save here the minfied vendor file, this is automatically loaded in the django page
Matteo Scandoloe53ee382016-04-25 10:11:56 -07008 ngXosStyles: '../../xos/core/static/', // TODO move in xoslib
Matteo Scandolo717352a2016-04-13 17:23:28 -07009 xosHelperSource: './xosHelpers/src/',
Matteo Scandolo1dab3e02016-04-14 11:46:30 -070010 xosHelperTmp: './xosHelpers/.tmp/',
Matteo Scandolo717352a2016-04-13 17:23:28 -070011 docs: './docs'
Matteo Scandolo3bb37fe2015-11-04 12:41:13 +010012};
13
14wrench.readdirSyncRecursive('./gulp')
15.map(function(file) {
16 require('./gulp/' + file)(options);
17});
18
19gulp.task('default', function () {
20 gulp.start('vendor');
21});