add release script

This commit is contained in:
Joerg Deckert 2014-06-22 20:12:46 +02:00
parent 94bebe6697
commit c5ee354eab
3 changed files with 39 additions and 2 deletions

View File

@ -67,7 +67,7 @@ copy .\source\shoot\musik\*.hss "%sdtbox%\shoot\"
%BSTC% -L %libpath% %D% -b -O a .\source\vecdem\vecdem.spin %BSTC% -L %libpath% %D% -b -O a .\source\vecdem\vecdem.spin
move vecdem.binary "%sdtbox%\demo\vecdem.bel" move vecdem.binary "%sdtbox%\demo\vecdem.bel"
%BSTC% -L %libpath% %D% -b -O a .\source\stracker\bellatrix\stint.spin %BSTC% -L %libpath% %D% -D __VGA_MONSET1 -b -O a .\source\stracker\bellatrix\stint.spin
copy stint.binary "%sdsnd%\hss\stint.bel" copy stint.binary "%sdsnd%\hss\stint.bel"
move stint.binary "%sdtbox%\stracker\stint.bel" move stint.binary "%sdtbox%\stracker\stint.bel"
%BSTC% -L %libpath% %D% -b -O a .\source\stracker\regnatix\stplay.spin %BSTC% -L %libpath% %D% -b -O a .\source\stracker\regnatix\stplay.spin

View File

@ -65,7 +65,7 @@ cp source/shoot/musik/*.hss "${sdtbox}/shoot/"
${BSTC} -L ${libpath} ${D} -b -O a source/vecdem/vecdem.spin ${BSTC} -L ${libpath} ${D} -b -O a source/vecdem/vecdem.spin
mv vecdem.binary "${sdtbox}/demo/vecdem.bel" mv vecdem.binary "${sdtbox}/demo/vecdem.bel"
${BSTC} -L ${libpath} ${D} -b -O a source/stracker/bellatrix/stint.spin ${BSTC} -L ${libpath} ${D} -D __VGA_MONSET1 -b -O a source/stracker/bellatrix/stint.spin
cp stint.binary "${sdsnd}/hss/stint.bel" cp stint.binary "${sdsnd}/hss/stint.bel"
mv stint.binary "${sdtbox}/stracker/stint.bel" mv stint.binary "${sdtbox}/stracker/stint.bel"
${BSTC} -L ${libpath} ${D} -b -O a source/stracker/regnatix/stplay.spin ${BSTC} -L ${libpath} ${D} -b -O a source/stracker/regnatix/stplay.spin

37
release.sh Executable file
View File

@ -0,0 +1,37 @@
#! /bin/sh
# Definitionen
VERSION="1.1"
# Pfade
ARCHIV="HIVE-Toolbox2-${VERSION}"
MAKE="./make.sh"
BIN="Bin"
# ----------------------------------------------------------------
# Alte Versionen löschen
rm -rf ../${BIN}
rm -f ../${ARCHIV}-bin.zip
rm -f ../${ARCHIV}-src.zip
# ----------------------------------------------------------------
# Binaries erstellen
${MAKE}
# ----------------------------------------------------------------
# Archive erstellen
mkdir .tmp
for file in *.md ; do cp "$file" .tmp/"${file/.md}".txt ; done
cd .tmp
zip -r9 ../../${ARCHIV}-bin.zip *
zip -r9 ../../${ARCHIV}-src.zip *
cd ..
rm -rf .tmp
zip -r9 ../${ARCHIV}-src.zip sounds source make*
cd ..
zip -r9 ${ARCHIV}-bin.zip ${BIN}