Matteo Scandolo | d477139 | 2015-11-04 12:41:13 +0100 | [diff] [blame] | 1 | 'use strict'; |
| 2 | |
| 3 | var gulp = require('gulp'); |
| 4 | var wrench = require('wrench'); |
| 5 | |
| 6 | var options = { |
Matteo Scandolo | 2cc9e0d | 2016-01-20 16:52:51 -0800 | [diff] [blame] | 7 | ngXosVendor: '../../xos/core/xoslib/static/js/vendor/', //save here the minfied vendor file, this is automatically loaded in the django page |
Matteo Scandolo | 57483dd | 2015-11-05 11:58:53 +0100 | [diff] [blame] | 8 | xosHelperSource: './xosHelpers/src/' |
Matteo Scandolo | d477139 | 2015-11-04 12:41:13 +0100 | [diff] [blame] | 9 | }; |
| 10 | |
| 11 | wrench.readdirSyncRecursive('./gulp') |
| 12 | .map(function(file) { |
| 13 | require('./gulp/' + file)(options); |
| 14 | }); |
| 15 | |
| 16 | gulp.task('default', function () { |
| 17 | gulp.start('vendor'); |
| 18 | }); |