From d117d2d9067b1e279846b4ed3a3e395caee183dd Mon Sep 17 00:00:00 2001 From: cgtboy1988 Date: Wed, 8 Jan 2020 14:38:55 -0700 Subject: [PATCH] Clean up --- productionLaunch.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 productionLaunch.sh diff --git a/productionLaunch.sh b/productionLaunch.sh deleted file mode 100755 index 50b47be..0000000 --- a/productionLaunch.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -workingDirectory=$1 - -if [ -z "${workingDirectory}" ] || [ "$1" == "-clean" ]; then - workingDirectory=$PWD -fi - -if [ "$1" == "-clean" ] || [ "$2" == "-clean" ]; then - echo "Cleaning" - rm -rf "$workingDirectory/compiled-puzzles" - rm -rf "$workingDirectory/mothballs" - rm -rf "$workingDirectory/state" - exit -fi - -echo "Working in directory $workingDirectory" - -bash $workingDirectory/build.sh - -mkdir $workingDirectory/compiled-puzzles - -FILES=$workingDirectory/example-puzzles/* -#for f in $FILES -#do -# $workingDirectory/devel/package-puzzles.py $workingDirectory/compiled-puzzles $f -#done - -#mkdir $workingDirectory/mothballs -#cp $workingDirectory/compiled-puzzles/* $workingDirectory/mothballs - -mkdir $workingDirectory/state - -sudo docker run --rm -it -p 8080:8080 -v $workingDirectory/state:/state -v $workingDirectory/mothballs:/mothballs dirtbags/moth