blob: 77a5c07d4d61f878151ee084298c62326b63e01c [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 Scandolo582cc812016-04-13 17:23:28 -07008 xosHelperSource: './xosHelpers/src/',
Matteo Scandolob7a86dc2016-04-14 11:46:30 -07009 xosHelperTmp: './xosHelpers/.tmp/',
Matteo Scandolo582cc812016-04-13 17:23:28 -070010 docs: './docs'
Matteo Scandolod4771392015-11-04 12:41:13 +010011};
12
13wrench.readdirSyncRecursive('./gulp')
14.map(function(file) {
15 require('./gulp/' + file)(options);
16});
17
18gulp.task('default', function () {
19 gulp.start('vendor');
20});