diff --git a/private/oxcav-public-repo.sh b/private/oxcav-public-repo.sh deleted file mode 100755 index 4a90365..0000000 --- a/private/oxcav-public-repo.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash - -set -e -set -x - -DIR=$(mktemp -d) -PWD="$(pwd)" -PROJ="${PWD%/private}" - -cd "$DIR" - -git init -git remote add origin https://github.com/oxford-oxcav/fossil.git -git branch -M main || : - -cp "$PROJ/.gitignore" "$DIR" -cp -R "$PROJ/." "$DIR" - -find . -name __pycache__ -exec rm -rf {} \; || : -find . -name '*.pyc' -delete || : -find . -name private -exec rm -rf {} \; || : - -echo Ready - diff --git a/private/package.sh b/private/package.sh deleted file mode 100644 index 7913120..0000000 --- a/private/package.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -set -e -set -x - -DIR=$(mktemp -d) -PWD="$(pwd)" -PROJ="${PWD%/private}" - -cp -R "$PROJ" "$DIR" -cd "$DIR" - -find . -name __pycache__ -exec rm -rf {} \; || : -find . -name '*.pyc' -delete || : - -find . -name '.git' -exec rm -rf {} \; || : -find . -name '.gitignore' -delete || : -find . -name 'private' -exec rm -rf {} \; || : - -zip -r project.zip * -unzip -l project.zip -