summaryrefslogtreecommitdiffhomepage
path: root/minirake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-07-05 10:31:15 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-07-05 10:31:15 +0900
commit573c9913a1ac2760f5f5e5e91c0841465ff5b2ac (patch)
tree41522da86dacbf4252e56e2ace72503c64860e4d /minirake
parent8c838b0700ad99cd329832abca5789f3f43e8b3f (diff)
parent3b225972747be555f2bc2d42cdddbc1bcf3e4b7b (diff)
downloadmruby-573c9913a1ac2760f5f5e5e91c0841465ff5b2ac.tar.gz
mruby-573c9913a1ac2760f5f5e5e91c0841465ff5b2ac.zip
resolve AUTHORS conflict
Diffstat (limited to 'minirake')
-rwxr-xr-xminirake5
1 files changed, 5 insertions, 0 deletions
diff --git a/minirake b/minirake
index f41b9b587..69d447a15 100755
--- a/minirake
+++ b/minirake
@@ -317,6 +317,8 @@ class RakeApp
"Require MODULE before executing rakefile."],
['--tasks', '-T', GetoptLong::NO_ARGUMENT,
"Display the tasks and dependencies, then exit."],
+ ['--pull_gems','-p', GetoptLong::NO_ARGUMENT,
+ "Pull all git mrbgems."],
['--trace', '-t', GetoptLong::NO_ARGUMENT,
"Turn on invoke/execute tracing."],
['--usage', '-h', GetoptLong::NO_ARGUMENT,
@@ -401,6 +403,8 @@ class RakeApp
require value
when '--tasks'
$show_tasks = true
+ when '--pull_gems'
+ $pull_gems = true
when '--trace'
$trace = true
when '--usage'
@@ -419,6 +423,7 @@ class RakeApp
# Read and handle the command line options.
def handle_options
$verbose = false
+ $pull_gems = false
opts = GetoptLong.new(*command_line_options)
opts.each { |opt, value| do_option(opt, value) }
end