diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-27 12:42:48 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-27 12:42:48 -0400 |
| commit | 210e8feae2fb4842bfb2de38666e6c41671fef3c (patch) | |
| tree | cbdafa34b1a6260bb20236d7e9de9eb1b690a1c5 /www/lib/ion-datetime-picker/gulpfile.js | |
| parent | e7e7baeaad90229ccb3e0f45f4ebd77be7d79b14 (diff) | |
removed lib
Diffstat (limited to 'www/lib/ion-datetime-picker/gulpfile.js')
| -rw-r--r-- | www/lib/ion-datetime-picker/gulpfile.js | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/www/lib/ion-datetime-picker/gulpfile.js b/www/lib/ion-datetime-picker/gulpfile.js deleted file mode 100644 index 483695e5..00000000 --- a/www/lib/ion-datetime-picker/gulpfile.js +++ /dev/null @@ -1,43 +0,0 @@ -var gulp = require("gulp"); -var sass = require("gulp-sass"); -var minifyHtml = require("gulp-minify-html"); -var ngHtml2js = require("gulp-ng-html2js"); -var ngAnnotate = require("gulp-ng-annotate"); -var iife = require("gulp-iife"); -var uglify = require("gulp-uglify"); -var concat = require("gulp-concat"); - -gulp.task("sass", function() { - return gulp.src("src/picker.scss") - .pipe(concat("ion-datetime-picker.min.scss")) - .pipe(sass({outputStyle: "compressed"})) - .pipe(gulp.dest("release")); -}); - -gulp.task("html", function() { - return gulp.src("src/picker-*.html") - .pipe(minifyHtml({ - empty: true, - spare: true, - quotes: true - })) - .pipe(ngHtml2js({ - moduleName: "ion-datetime-picker", - declareModule: false - })) - .pipe(concat("ion-datetime-picker.min.js")) - .pipe(gulp.dest("release")); -}); - -gulp.task("js", ["html"], function() { - return gulp.src(["src/picker.js", "src/picker-*.js", "release/ion-datetime-picker.min.js"]) - .pipe(ngAnnotate()) - .pipe(concat("ion-datetime-picker.min.js")) - .pipe(iife()) - .pipe(uglify()) - .pipe(gulp.dest("release")); -}); - -gulp.task("build", ["sass", "js"]); - -gulp.task("default", ["build"]); |
