Update release scripts

release 0.91
Slava Pestov 2007-12-12 18:35:46 -05:00
parent 593967f857
commit 530c05226e
4 changed files with 15 additions and 5 deletions

View File

@ -1,15 +1,19 @@
source misc/version.sh
TARGET=$1 TARGET=$1
if [ "$TARGET" = "x86" ]; then if [ "$TARGET" = "x86" ]; then
CPU="x86.32" CPU="x86.32"
else else
CPU="ppc" CPU="macosx-ppc"
fi fi
make macosx-$TARGET BOOT_IMAGE=boot.$CPU.image
Factor.app/Contents/MacOS/factor -i=boot.$CPU.image -no-user-init wget http://factorcode.org/images/$VERSION/$BOOT_IMAGE
make macosx-$TARGET
Factor.app/Contents/MacOS/factor -i=$BOOT_IMAGE -no-user-init
VERSION=0.91
DISK_IMAGE_DIR=Factor-$VERSION DISK_IMAGE_DIR=Factor-$VERSION
DISK_IMAGE=Factor-$VERSION-$TARGET.dmg DISK_IMAGE=Factor-$VERSION-$TARGET.dmg

4
misc/source-release.sh Normal file
View File

@ -0,0 +1,4 @@
source misc/version.sh
rm -rf .git
cd ..
tar cfz Factor-$VERSION.tgz factor/

1
misc/version.sh Normal file
View File

@ -0,0 +1 @@
export VERSION=0.91

View File

@ -1,5 +1,6 @@
source misc/version.sh
CPU=$1 CPU=$1
VERSION=0.91
if [ "$CPU" = "x86" ]; then if [ "$CPU" = "x86" ]; then
FLAGS="-no-sse2" FLAGS="-no-sse2"