add direct mode to Program builder - close #61

This commit is contained in:
josh committed 2019-04-14 12:35:28 -04:00
1 parent 9bf4b8fa96
commit ea2b1e73d1
17 files changed
+146 -23

No files matched your search

+2 -2
View File
@@ -314,7 +314,7 @@ module Rscons
end
target = expand_path(expand_varref(target))
sources = Array(sources).map do |source|
source = source.target if sources.is_a?(Builder)
source = source.target if source.is_a?(Builder)
expand_path(expand_varref(source))
end.flatten
builder = @builders[method.to_s].new(
@@ -507,7 +507,7 @@ module Rscons
# @param short_description [String]
# Builder short description, printed if the echo mode is :short, or if
# there is no command.
# @param command [Array<String>]
# @param command [Array<String>, nil]
# Builder command, printed if the echo mode is :command.
#
# @return [void]