public void Compile(SuiteRelativePath scriptPath, TargetRelativePath targetPath, string version, Goal targetGoal) { var platform = targetGoal.Has("x64") ? "x64" : "x86"; Run(suiteRoot, "/dVERSION="+version, "/dPLATFORM="+platform, "/dGOAL="+targetGoal.Name, "/o"+Path.GetDirectoryName(Path.Combine(suiteRoot.GetRelativePath(targetRoot), targetPath)), scriptPath); }