tasks/helper.rb in zfben_rails_rake-0.0.3 vs tasks/helper.rb in zfben_rails_rake-0.0.4
- old
+ new
@@ -1,4 +1,9 @@
def sys cmd
STDOUT.puts cmd.color(:black).background(:white)
system cmd
end
+
+def err msg
+ STDOUT.puts msg.color(:yellow).background(:red)
+ exit!
+end