bin/wassup in wassup-0.2.1 vs bin/wassup in wassup-0.3.0
- old
+ new
@@ -1,11 +1,16 @@
#!/usr/bin/env ruby
require 'wassup'
+debug = ARGV.delete("--debug")
path = ARGV[0] || 'Supfile'
unless File.exists?(path)
raise "Missing file: #{path}"
end
-Wassup::App.start(path: path)
+if debug
+ Wassup::App.debug(path: path)
+else
+ Wassup::App.start(path: path)
+end