From f784b10c87ca0eec7a432c1d583e2e9ddaad89d9 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 17 Nov 2009 16:57:27 +0100 Subject: [PATCH] Updated packaging script to include zrtools binaries. --- build.sh | 28 +++++++++++++++++++--------- docs/zr_manual.htm | 4 ++++ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/build.sh b/build.sh index 844266b..86696de 100644 --- a/build.sh +++ b/build.sh @@ -6,21 +6,22 @@ ZIPFILE=$(hg id -b)-$(hg id -n).zip PLUGINFILES="cstrike/*" DOCS="docs/*" -DOCS_DEST=zrdocs +DOCS_DEST=$RELEASEDIR/zrdocs PLUGINFILE=zombiereloaded.smx -PLUGINDIR=addons/sourcemod/plugins +PLUGINDIR=$RELEASEDIR/addons/sourcemod/plugins +ZRTOOLS_SOURCE=/home/zrdev/archive/zrtools +EXTENSIONDIR=$RELEASEDIR/addons/sourcemod/extensions # Clean release directory if specified and exit. if [ "$1" = "clean" ] then - rm -r $RELEASEDIR + rm -rf $RELEASEDIR echo "Cleaned release directory." exit 0 fi -# Make release directories. +# Make release directory. mkdir -p $RELEASEDIR -mkdir -p $RELEASEDIR/$DOCS_DEST # Check if the plugin is built. if [ ! -e $BUILDDIR/$PLUGINFILE ] @@ -30,12 +31,21 @@ then fi # Copy files. -echo "Copying files..." +echo "Copying plugin files..." cp -r $PLUGINFILES $RELEASEDIR -cp -r $DOCS $RELEASEDIR/$DOCS_DEST -mkdir -p $RELEASEDIR/$PLUGINDIR -cp -r $BUILDDIR/$PLUGINFILE $RELEASEDIR/$PLUGINDIR/$PLUGINFILE +echo "Copying documentation..." +mkdir -p $DOCS_DEST +cp -r $DOCS $DOCS_DEST + +echo "Copying plugin binaries..." +mkdir -p $PLUGINDIR +cp -r $BUILDDIR/$PLUGINFILE $PLUGINDIR/$PLUGINFILE + +echo "Copying extension binaries..." +mkdir -p $EXTENSIONDIR +cp $ZRTOOLS_SOURCE/zrtools.ext.so $EXTENSIONDIR +cp $ZRTOOLS_SOURCE/zrtools.ext.dll $EXTENSIONDIR # Make release package. echo "Compressing files..." diff --git a/docs/zr_manual.htm b/docs/zr_manual.htm index 9a463d7..15ea949 100644 --- a/docs/zr_manual.htm +++ b/docs/zr_manual.htm @@ -4943,6 +4943,10 @@ href="http://forums.alliedmods.net/forumdisplay.php?f=132">Zombie:Reloaded forum or similar in the thread title. +

Browseable source code repositories: Zombie:Reloaded +Source

+ +

Valid XHTML 1.0 Strict