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 | 90ed064 | 2016-04-25 10:11:56 -0700 | [diff] [blame] | 8 | ngXosStyles: '../../xos/core/static/', // TODO move in xoslib |
Matteo Scandolo | 582cc81 | 2016-04-13 17:23:28 -0700 | [diff] [blame] | 9 | xosHelperSource: './xosHelpers/src/', |
Matteo Scandolo | b7a86dc | 2016-04-14 11:46:30 -0700 | [diff] [blame] | 10 | xosHelperTmp: './xosHelpers/.tmp/', |
Matteo Scandolo | 582cc81 | 2016-04-13 17:23:28 -0700 | [diff] [blame] | 11 | docs: './docs' |
Matteo Scandolo | d477139 | 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 | }); |