'use strict';

var rimraf = require("rimraf");
var gulp = require("gulp");
var minjs = require("gulp-uglify");
var mincss = require("gulp-minify-css");

var destDir = "deploy/";

gulp.task("clean", function (cb) {
    rimraf(destDir, cb);
});

gulp.task("deploy", ["clean"], function () {
    gulp.src("kspRemoteTechPlanner/**/*.html")
    .pipe(gulp.dest(destDir));

    gulp.src("kspRemoteTechPlanner/**/appOut.js")
    .pipe(minjs())
    .pipe(gulp.dest(destDir));

    gulp.src("kspRemoteTechPlanner/**/app.css")
    .pipe(mincss())
    .pipe(gulp.dest(destDir));

    gulp.src(["kspRemoteTechPlanner/**/content/bootstrap.min.css", "kspRemoteTechPlanner/**/fonts/*", "kspRemoteTechPlanner/**/scripts/*.min.js"])
    .pipe(gulp.dest(destDir));
});

@@ -564,187 +564,8 @@
 r));
-%0A%0A    gulp.src(%5B%22kspRemoteTechPlanner/**/content/bootstrap.min.css%22, %22kspRemoteTechPlanner/**/fonts/*%22, %22kspRemoteTechPlanner/**/scripts/*.min.js%22%5D)%0A    .pipe(gulp.dest(destDir));
 %0A%7D);

Update deploy script.