summaryrefslogtreecommitdiffstats
path: root/vnfmarket/common/thirdparty/angular-material-icons/gulpfile.js
blob: e67f1380612ade9b307226065f5379ed433256e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;