add verbose CLI option to set Environment default echo mode - close #70

This commit is contained in:
josh committed 2019-01-01 16:15:22 -05:00
1 parent eaac473f44
commit 918c629435
4 files changed
+40 -1

No files matched your search

+8 -1
View File
@@ -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?