blob: e514d7a5bbad91c57ba3269fe1f791804df40cd1 [file] [log] [blame]
Matteo Scandolod4771392015-11-04 12:41:13 +01001'use strict';
2
3var gulp = require('gulp');
4var wrench = require('wrench');
5
6var options = {
Matteo Scandolo2cc9e0d2016-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 Scandolo90ed0642016-04-25 10:11:56 -07008 ngXosStyles: '../../xos/core/static/', // TODO move in xoslib
Matteo Scandolo582cc812016-04-13 17:23:28 -07009 xosHelperSource: './xosHelpers/src/',
Matteo Scandolob7a86dc2016-04-14 11:46:30 -070010 xosHelperTmp: './xosHelpers/.tmp/',
Matteo Scandolo582cc812016-04-13 17:23:28 -070011 docs: './docs'
Matteo Scandolod4771392015-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});