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