add verbose CLI option to set Environment default echo mode - close #70
This commit is contained in:
1 parent
eaac473f44
commit
918c629435
4 files changed
+40
-1
No files matched your search
@@ -81,7 +81,14 @@ module Rscons
|
||||
add_builder(builder_class.new)
|
||||
end
|
||||
end
|
||||
@echo = options[:echo] || :short
|
||||
@echo =
|
||||
if options[:echo]
|
||||
options[:echo]
|
||||
elsif Rscons.application.verbose
|
||||
:command
|
||||
else
|
||||
:short
|
||||
end
|
||||
@build_root = "#{Cache.instance.configuration_data["build_dir"]}/e.#{@id}"
|
||||
|
||||
if block_given?
|
||||
|
||||
Reference in new issue
Block a user