summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-12-25 23:27:40 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-12-27 11:05:56 +0900
commitd8a5163b24489bc0ff046e13a67fdc3feb01f7cd (patch)
tree0166fd0aea0cfe208ae5115f3f9839f0c835165e /Rakefile
parented8491cde671e01ac77ead6f8fefee073bc0a9af (diff)
downloadmruby-d8a5163b24489bc0ff046e13a67fdc3feb01f7cd.tar.gz
mruby-d8a5163b24489bc0ff046e13a67fdc3feb01f7cd.zip
Support `-v` flag of `rake`; close #4887
The patch was originally written by @take-cheese. I have fixed the conflict caused by `minirake` deletion - @matz.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 69c7d4c89..c041586c0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,6 +5,8 @@ MRUBY_ROOT = File.dirname(File.expand_path(__FILE__))
MRUBY_BUILD_HOST_IS_CYGWIN = RUBY_PLATFORM.include?('cygwin')
MRUBY_BUILD_HOST_IS_OPENBSD = RUBY_PLATFORM.include?('openbsd')
+$verbose = Rake.verbose == true
+
$LOAD_PATH << File.join(MRUBY_ROOT, "lib")
# load build systems