aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/common/thirdparty/angular-material-icons/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/common/thirdparty/angular-material-icons/gulpfile.js')
-rw-r--r--vnfmarket/src/main/webapp/common/thirdparty/angular-material-icons/gulpfile.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/common/thirdparty/angular-material-icons/gulpfile.js b/vnfmarket/src/main/webapp/common/thirdparty/angular-material-icons/gulpfile.js
new file mode 100644
index 00000000..e67f1380
--- /dev/null
+++ b/vnfmarket/src/main/webapp/common/thirdparty/angular-material-icons/gulpfile.js
@@ -0,0 +1,27 @@
+'use strict';
+
+var gulp = require('gulp'),
+ uglify = require('gulp-uglify'),
+ $ = require('gulp-load-plugins')({lazy: true});
+
+gulp.task('lint', function() {
+ return gulp.src([
+ 'angular-material-icons.js',
+ 'demo.js'
+ ])
+ .pipe($.jshint())
+ .pipe($.jshint.reporter('jshint-stylish', {verbose: true}));
+});
+
+gulp.task('minify', function() {
+ return gulp.src([
+ 'angular-material-icons.js'
+ ])
+ .pipe($.uglify())
+ .pipe($.rename('angular-material-icons.min.js'))
+ .pipe(gulp.dest('.'));
+});
+
+gulp.task('default', ['lint', 'minify']);
+
+module.exports = gulp;