lib/barista/tasks/barista.rake in barista-0.3.0 vs lib/barista/tasks/barista.rake in barista-0.4.0
- old
+ new
@@ -1,8 +1,12 @@
namespace :barista do
-
+
desc "Compiles coffeescripts from app/scripts into public/javascripts"
task :brew => :environment do
- Barista.compile_all!(true)
+ if !Barista::Compiler.available?
+ $stderr.puts "'#{Barista::Compiler.bin_path}' was unavailable."
+ exit 1
+ end
+ Barista.compile_all! true, false
end
-
-end
\ No newline at end of file
+
+end