Matteo Scandolo | 3bb37fe | 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 | f043aae | 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 | 717352a | 2016-04-13 17:23:28 -0700 | [diff] [blame] | 8 | xosHelperSource: './xosHelpers/src/', |
Matteo Scandolo | 1dab3e0 | 2016-04-14 11:46:30 -0700 | [diff] [blame] | 9 | xosHelperTmp: './xosHelpers/.tmp/', |
Matteo Scandolo | 717352a | 2016-04-13 17:23:28 -0700 | [diff] [blame] | 10 | docs: './docs' |
Matteo Scandolo | 3bb37fe | 2015-11-04 12:41:13 +0100 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | wrench.readdirSyncRecursive('./gulp') |
| 14 | .map(function(file) { |
| 15 | require('./gulp/' + file)(options); |
| 16 | }); |
| 17 | |
| 18 | gulp.task('default', function () { |
| 19 | gulp.start('vendor'); |
| 20 | }); |