Update buildpacks, again
parent
8703523f66
commit
bf36cb45a1
4
Rakefile
4
Rakefile
|
@ -3,3 +3,7 @@
|
||||||
|
|
||||||
require File.expand_path('../config/application', __FILE__)
|
require File.expand_path('../config/application', __FILE__)
|
||||||
FarmBot::Application.load_tasks
|
FarmBot::Application.load_tasks
|
||||||
|
|
||||||
|
Rake::Task["assets:precompile"].enhance do
|
||||||
|
puts `gulp build`
|
||||||
|
end
|
||||||
|
|
|
@ -10,16 +10,16 @@ var paths = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function oops (s) {
|
function oops (s) {
|
||||||
exec("espeak 'Compile Error.'");
|
exec("espeak 'build Error.'");
|
||||||
exec( 'notify-send "' + (s.message || s) + '"' );
|
exec( 'notify-send "' + (s.message || s) + '"' );
|
||||||
gutil.log(s.message);
|
gutil.log(s.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
gulp.task('default', function () {
|
gulp.task('default', function () {
|
||||||
gulp.watch(paths.js, ['compile']);
|
gulp.watch(paths.js, ['build']);
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('compile', function () {
|
gulp.task('build', function () {
|
||||||
browserify({
|
browserify({
|
||||||
entries: ['javascripts/farm_designer.js'],
|
entries: ['javascripts/farm_designer.js'],
|
||||||
extensions: ['.js']
|
extensions: ['.js']
|
||||||
|
|
Loading…
Reference in New Issue