allow overriding Command builder short description with CMD_DESC variable -- close #22

This commit is contained in:
josh committed 2015-01-24 09:40:07 -05:00
1 parent 897d31ebe0
commit 02aff35222
3 files changed
+10 -5

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@ module Rscons
"_SOURCES" => sources,
})
command = env.build_command("${CMD}", vars)
standard_build("CMD #{target}", target, command, sources, env, cache)
cmd_desc = vars["CMD_DESC"] || "cmd_desc"
standard_build("#{cmd_desc} #{target}", target, command, sources, env, cache)
end
end
end