feat: new Web UI build system
- use generator-gulp-angular by @swiip - remove old static file
This commit is contained in:
parent
587b17c120
commit
b7a71edfcb
83 changed files with 1069 additions and 1028 deletions
29
webui/gulpfile.js
Normal file
29
webui/gulpfile.js
Normal file
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* Welcome to your gulpfile!
|
||||
* The gulp tasks are splitted in several files in the gulp directory
|
||||
* because putting all here was really too long
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var gulp = require('gulp');
|
||||
var wrench = require('wrench');
|
||||
|
||||
/**
|
||||
* This will load all js or coffee files in the gulp directory
|
||||
* in order to load all gulp tasks
|
||||
*/
|
||||
wrench.readdirSyncRecursive('./gulp').filter(function(file) {
|
||||
return (/\.(js|coffee)$/i).test(file);
|
||||
}).map(function(file) {
|
||||
require('./gulp/' + file);
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Default task clean temporaries directories and launch the
|
||||
* main optimization build task
|
||||
*/
|
||||
gulp.task('default', ['clean'], function () {
|
||||
gulp.start('build');
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue