bin/reap-prepare in reap-9.3.5 vs bin/reap-prepare in reap-9.4.0
- old
+ new
@@ -1,7 +1,26 @@
#!/usr/bin/env ruby
require 'reap/application'
-app = Reap::Application.new
+HELP = <<-END
+Usage: #{File.basename($0)} [options]
-app.prepare
+Prepare for packaging. This is "meta"-command which runs
+the following commands in order:
+
+ reap-clean
+ reap-make-distclean
+ reap-version
+
+The make-distclean command is not run if the project does
+not have any extensions, or is being prepared for a binary
+package. These commands prepare the project for packaging.
+END
+
+if ARGV.include?('--help')
+ puts HELP
+else
+ app = Reap::Application.new
+ app.prepare
+end
+