'use strict'; | |
var gulp = require('gulp'); | |
var wrench = require('wrench'); | |
var options = { | |
ngXosVendor: '../../xos/core/xoslib/static/js/vendor/', //save here the minfied vendor file, this is automatically loaded in the django page | |
xosHelperSource: './xosHelpers/src/', | |
xosHelperTmp: './xosHelpers/.tmp/', | |
docs: './docs' | |
}; | |
wrench.readdirSyncRecursive('./gulp') | |
.map(function(file) { | |
require('./gulp/' + file)(options); | |
}); | |
gulp.task('default', function () { | |
gulp.start('vendor'); | |
}); |