blob: e25e9363eadd1da9f4c1c093a208d05393861cc6 [file] [log] [blame]
Matteo Scandoloa5d03d52016-07-21 11:35:46 -07001/*eslint-env node */
2(function () {
3 'use strict';
4
5 const gulp = require('gulp');
6 const wrench = require('wrench');
7 const path = require('path');
8
9 const options = {
10 ngXosVendor: './dist/',
11 ngXosStyles: './dist/',
12 xosHelperSource: './src/',
13 xosHelperTmp: './.tmp/',
14 docs: './docs'
15 };
16
17 wrench.readdirSyncRecursive(path.join(__dirname, './gulp'))
18 .map(function(file) {
19 require(path.join(__dirname, './gulp/' + file))(options);
20 });
21
22 gulp.task('default', function () {
23 gulp.start('build');
24 });
25
26 gulp.task('build', ['vendor', 'helpers', 'uiLibrary']);
27
28})();