Merge pull request #130 from tbasnoopy/customtoolnamespace

add customtoolnamespace
This commit is contained in:
starkos 2015-07-05 12:23:18 -04:00
commit 080c78455a
2 changed files with 9 additions and 0 deletions

View File

@ -959,6 +959,12 @@
end, end,
} }
api.register {
name = "customtoolnamespace",
scope = "config",
kind = "string",
}
api.register { api.register {
name = "undefines", name = "undefines",
scope = "config", scope = "config",

View File

@ -182,6 +182,9 @@
if #contents > 0 then if #contents > 0 then
_p("%s", contents) _p("%s", contents)
end end
if info.action == "EmbeddedResource" and cfg.customtoolnamespace then
_p(3,"<CustomToolNamespace>%s</CustomToolNamespace>", cfg.customtoolnamespace)
end
_p(2,'</%s>', info.action) _p(2,'</%s>', info.action)
else else
_p(2,'<%s Include="%s" />', info.action, fname) _p(2,'<%s Include="%s" />', info.action, fname)