Merge pull request #761 from LORgames/ssurtees/rulesPropFix

Removed echo off in VS rules prop generator
This commit is contained in:
Tom van Dijck 2017-04-27 08:22:30 -07:00 committed by GitHub
commit 60071441a9
2 changed files with 2 additions and 3 deletions

View File

@ -152,7 +152,7 @@
if buildcommands and #buildcommands > 0 then if buildcommands and #buildcommands > 0 then
local cmds = os.translateCommands(buildcommands, p.WINDOWS) local cmds = os.translateCommands(buildcommands, p.WINDOWS)
cmds = table.concat(cmds, p.eol()) cmds = table.concat(cmds, p.eol())
p.x('<CommandLineTemplate>@echo off\n%s</CommandLineTemplate>', cmds) p.x('<CommandLineTemplate>%s</CommandLineTemplate>', cmds)
end end
end end

View File

@ -51,8 +51,7 @@
m.commandLineTemplates(r) m.commandLineTemplates(r)
test.capture [[ test.capture [[
<CommandLineTemplate>@echo off <CommandLineTemplate>package-example-compiler.exe [output_path] "%(Identity)"</CommandLineTemplate>
package-example-compiler.exe [output_path] "%(Identity)"</CommandLineTemplate>
]] ]]
end end