Merge pull request #130 from tbasnoopy/customtoolnamespace
add customtoolnamespace
This commit is contained in:
commit
080c78455a
@ -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",
|
||||||
|
@ -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)
|
||||||
|
Reference in New Issue
Block a user