Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2010-10-04 14:43:19 +0400
committerJason Perkins <starkos@industriousone.com>2010-10-04 14:43:19 +0400
commit0802d268e0e363e42e2f97479700a4208c595ab2 (patch)
tree15d9b0dcbbc6e6ce4883065b366f6ecc256fbd25 /scripts
parent318c709784fe3fa732c56b030130e91754133f0a (diff)
Bug 2971841: Gmake escaping of shell variable $(...) is broken
Diffstat (limited to 'scripts')
-rw-r--r--scripts/release.lua19
1 files changed, 6 insertions, 13 deletions
diff --git a/scripts/release.lua b/scripts/release.lua
index 53de20f..f15155e 100644
--- a/scripts/release.lua
+++ b/scripts/release.lua
@@ -98,22 +98,15 @@ function dorelease()
--
---------------------------------------------------------------------------
---
--- Create a directory to hold the release
---
-
- local workdir = "premake-" .. version
- os.mkdir("release/" .. workdir)
- os.chdir("release/" .. workdir)
-
-
--
-- Check out the release tagged sources to releases/
--
print("Downloading release tag...")
-
- -- hg clone -r {tag} https://bitbucket.org/premake/premake-stable .
+
+ os.chdir("release")
+ -- hg clone -r {tag} https://bitbucket.org/premake/premake-stable premake-{version}
+ os.chdir("premake-" .. version)
--
@@ -200,11 +193,11 @@ function dorelease()
print("Building platform binary release...")
- -- IMPORTANT: Mac binary needs to be build in Xcode to ensure 10.5
+ -- IMPORTANT: Mac binary needs to be built in Xcode to ensure 10.5
-- compatibility right now. I haven't been able to figure out the
-- right flags to make it work from a makefile yet.
--
- -- In Xcode, open the inspector for the target. Set the architecture
+ -- In Xcode, open the inspector for the TARGET Set the architecture
-- to 32-bit universal, and the base SDK to 10.5.
exec("premake4 /platform=universal32 gmake")