From 4bc8e76fac4688d0430cbeea50c3a959c6b1c72a Mon Sep 17 00:00:00 2001 From: starkos Date: Fri, 18 Apr 2008 16:37:02 +0000 Subject: [PATCH] Minor fixes to release script --- premake.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/premake.lua b/premake.lua index 08aa68f6..211d2a67 100644 --- a/premake.lua +++ b/premake.lua @@ -63,11 +63,11 @@ project.name = "Premake4" local branch = REPOS..BRANCHES..version ------------------------------------------------------------------- - -- Build and run all automated tests + -- Build and run all automated tests on working copy ------------------------------------------------------------------- print("Building tests on working copy...") - os.execute("premake --target gnu > ../releases/release.log") - result = os.execute("make CONFIG=Release >../releases/release.log") + os.execute("premake --target gnu >releases/release.log") + result = os.execute("make CONFIG=Release >releases/release.log") if (result ~= 0) then error("Test build failed; see release.log for details") end @@ -104,6 +104,7 @@ project.name = "Premake4" -- Build the release binary for this platform ------------------------------------------------------------------- print("Building release version...") + os.chdir(folder) os.execute("premake --clean --no-tests --target gnu >../release.log") os.execute("make CONFIG=Release >../release.log")