From bf36cb45a12b9db4b5f45bff3f10937b34b3a0ce Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Mon, 28 Sep 2015 14:17:02 -0500 Subject: [PATCH] Update buildpacks, again --- Rakefile | 4 ++++ gulpfile.js | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 2dfdb818a..c27ed5439 100755 --- a/Rakefile +++ b/Rakefile @@ -3,3 +3,7 @@ require File.expand_path('../config/application', __FILE__) FarmBot::Application.load_tasks + +Rake::Task["assets:precompile"].enhance do + puts `gulp build` +end diff --git a/gulpfile.js b/gulpfile.js index dac325ff8..d4b9cf1f9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -10,16 +10,16 @@ var paths = { }; function oops (s) { - exec("espeak 'Compile Error.'"); + exec("espeak 'build Error.'"); exec( 'notify-send "' + (s.message || s) + '"' ); gutil.log(s.message); } gulp.task('default', function () { - gulp.watch(paths.js, ['compile']); + gulp.watch(paths.js, ['build']); }); -gulp.task('compile', function () { +gulp.task('build', function () { browserify({ entries: ['javascripts/farm_designer.js'], extensions: ['.js']