Browse Source

Fixed tests generation in build using Xamarin Studio.

pull/621/merge
Joao Matos 10 years ago
parent
commit
679de0aa41
  1. 5
      build/Tests.lua

5
build/Tests.lua

@ -64,12 +64,13 @@ function SetupTestGeneratorProject(name, depends) @@ -64,12 +64,13 @@ function SetupTestGeneratorProject(name, depends)
end
function SetupTestGeneratorBuildEvent(name)
local runtimeExe = os.is("windows") and "" or "mono --debug "
if string.starts(action, "vs") then
local exePath = SafePath("$(TargetDir)" .. name .. ".Gen.exe")
prebuildcommands { exePath }
prebuildcommands { runtimeExe .. exePath }
else
local exePath = SafePath("%{cfg.buildtarget.directory}/" .. name .. ".Gen.exe")
prebuildcommands { "mono --debug " .. exePath }
prebuildcommands { runtimeExe .. exePath }
end
end

Loading…
Cancel
Save