diff options
| author | kyab <[email protected]> | 2013-07-04 22:09:05 +0900 |
|---|---|---|
| committer | kyab <[email protected]> | 2013-07-04 22:09:05 +0900 |
| commit | 8eab806da82d1ea48a3c0a23a8885e681a7d75e5 (patch) | |
| tree | 7e515f93fd3bfac67ae4179707c220e0577c77f6 /minirake | |
| parent | 4c8fd5210ebc0eca146b515be33d57f2234a5813 (diff) | |
| download | mruby-8eab806da82d1ea48a3c0a23a8885e681a7d75e5.tar.gz mruby-8eab806da82d1ea48a3c0a23a8885e681a7d75e5.zip | |
Add --pull_gems option to minirake
Diffstat (limited to 'minirake')
| -rwxr-xr-x | minirake | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
