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
|
#!/bin/sh
|
||||||
|
|
||||||
|
BUILDER=./build-arch-tag
|
||||||
|
|
||||||
# Check whether the tag exists
|
# Check whether the tag exists
|
||||||
TAG=$1
|
TAG=$1
|
||||||
if [ "x$TAG" != "x" ]
|
if [ "x$TAG" != "x" ]
|
||||||
@ -29,11 +31,11 @@ fi
|
|||||||
OS=`uname -s`
|
OS=`uname -s`
|
||||||
if [ "x$OS" = "xDarwin" ]
|
if [ "x$OS" = "xDarwin" ]
|
||||||
then
|
then
|
||||||
./gitdist.sh mac $TAG
|
$BUILDER mac $TAG
|
||||||
elif [ "x$OS" = "xLinux" ]
|
elif [ "x$OS" = "xLinux" ]
|
||||||
then
|
then
|
||||||
./gitdist.sh linux $TAG
|
$BUILDER linux $TAG
|
||||||
./gitdist.sh w32 $TAG
|
$BUILDER w32 $TAG
|
||||||
else
|
else
|
||||||
echo "Don't know architecture $OS, where am I?"
|
echo "Don't know architecture $OS, where am I?"
|
||||||
exit
|
exit
|
Loading…
Reference in New Issue
Block a user