From ff73aa696afcd2699e4cff40462f9e925a57964e Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Thu, 9 Oct 2008 23:20:35 +0000 Subject: [PATCH] Cleanup of directory structure --- Makefile | 2 +- emptylevel | 34 ---------------------------- fixall.sh => scripts/fixall.sh | 0 fixlevel.awk => scripts/fixlevel.awk | 0 scripts/run.sh | 6 +++++ 5 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 emptylevel rename fixall.sh => scripts/fixall.sh (100%) rename fixlevel.awk => scripts/fixlevel.awk (100%) create mode 100755 scripts/run.sh diff --git a/Makefile b/Makefile index 22bbd45..31e5333 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ edit: edit.c shared.c edit.h shared.h globals.h defs.h app: rc if [ `uname -s` != "Darwin" ]; then echo "Mac .app bundle generation is only available under OSX."; exit 1; fi; if [ -d RatCatcher.app ]; then rm -fr RatCatcher.app ; fi - platypus -a rc -t shell -o None -u "Rob Pearce" -f data -f rc -f data run.sh RatCatcher.app + platypus -a rc -t shell -o None -u "Rob Pearce" -f data -f rc -f data scripts/run.sh RatCatcher.app seticon -d icon.icns RatCatcher.app dylibbundler -od -b -x ./RatCatcher.app/Contents/Resources/rc -d ./RatCatcher.app/Contents/libs/ -p @executable_path/../libs/ diff --git a/emptylevel b/emptylevel deleted file mode 100644 index 24cc5e9..0000000 --- a/emptylevel +++ /dev/null @@ -1,34 +0,0 @@ -tileset green -bg 0 -hurryup 30 -endmaps -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -*00000000000000000000000000000000000000* -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/fixall.sh b/scripts/fixall.sh similarity index 100% rename from fixall.sh rename to scripts/fixall.sh diff --git a/fixlevel.awk b/scripts/fixlevel.awk similarity index 100% rename from fixlevel.awk rename to scripts/fixlevel.awk diff --git a/scripts/run.sh b/scripts/run.sh new file mode 100755 index 0000000..5503682 --- /dev/null +++ b/scripts/run.sh @@ -0,0 +1,6 @@ +#!/bin/sh +PROGDIR=$1/Contents/Resources +DATADIR=$1/Contents/Resources/data +RC=rc + +${PROGDIR}/${RC} -d $DATADIR