Wed, 19 Dec 2012 19:58:29 +0100
dist script added
mkdist | file | annotate | diff | comparison | revisions |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mkdist Wed Dec 19 19:58:29 2012 +0100 @@ -0,0 +1,31 @@ +#!/bin/sh +RELEASE=$1 +PWD=`pwd` +R_NAME="openslot-$RELEASE" +R_DIR="dist/$R_NAME" + + +cd $PWD/blackbox +make clean +cd $PWD/pitlane +make clean +cd $PWD/slotUI +rm *.pyc + +cd $PWD +rmdir -f dist +mkdir -p $R_DIR + +cp blackbox $R_DIR +cp pitlane $R_DIR +cp slotUI $R_DIR +echo -e "OpenSlot.de\nCustom Firmware and hardware mod\n\nPublic release version $RELEASE\n$DAT" > $R_DIR/README +cp LICENSE $R_DIR + +cd $PWD/slotUI +rm -f quake-sound + +cd $PWD/dist +tar -cz $R_NAME/* >$R_NAME.tar.gz + +ls -al