Improved build scripts.
The scripts now have more sensible names, and the code is better factored.
This commit is contained in:
parent
14b1e800c3
commit
057909d0c5
0
dist/gitdist.sh → dist/build-arch-tag
vendored
0
dist/gitdist.sh → dist/build-arch-tag
vendored
8
dist/builddist.sh → dist/releasescript
vendored
8
dist/builddist.sh → dist/releasescript
vendored
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
BUILDER=./build-arch-tag
|
||||
|
||||
# Check whether the tag exists
|
||||
TAG=$1
|
||||
if [ "x$TAG" != "x" ]
|
||||
@ -29,11 +31,11 @@ fi
|
||||
OS=`uname -s`
|
||||
if [ "x$OS" = "xDarwin" ]
|
||||
then
|
||||
./gitdist.sh mac $TAG
|
||||
$BUILDER mac $TAG
|
||||
elif [ "x$OS" = "xLinux" ]
|
||||
then
|
||||
./gitdist.sh linux $TAG
|
||||
./gitdist.sh w32 $TAG
|
||||
$BUILDER linux $TAG
|
||||
$BUILDER w32 $TAG
|
||||
else
|
||||
echo "Don't know architecture $OS, where am I?"
|
||||
exit
|
Loading…
Reference in New Issue
Block a user