From 3a68dc17023541d79230a118599f5fa487bd61e8 Mon Sep 17 00:00:00 2001 From: Keegan Date: Mon, 12 Oct 2015 12:15:52 -0700 Subject: [PATCH] no more mold --- mold.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 mold.js diff --git a/mold.js b/mold.js deleted file mode 100644 index b1f5bf1..0000000 --- a/mold.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -var browserify = require('browserify'); -var source = require('vinyl-source-stream'); -var gulp = require('gulp'); -var path = require('path'); -var del = require('del'); - -var projectPath = process.argv[2] || process.cwd(); -var pebbleJsPath = path.resolve(projectPath, 'src/js/pebble-js-app.js'); -var clayJsPath = path.resolve(projectPath, 'src/js/pebble-clay-js-app.js'); - -var warningMessage = - '/* Do not edit this file! Use "pebble-clay-js-app.js" instead. */'; - -gulp.task('clean', function() { - return del([pebbleJsPath]); -}); - -gulp.task('pebble-js-app', ['clean'], function() { - browserify(clayJsPath, { debug: false }) - .bundle() - .pipe(source('pebble-js-app.js')) - .pipe(gulp.dest('./src/js/')); -}); - -gulp.start('pebble-js-app');