diff --git a/scripts/clean.sh b/scripts/clean.sh new file mode 100644 index 0000000..0064077 --- /dev/null +++ b/scripts/clean.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -e + + +echo ">> Removing VirtualEnv..." +rm -rf env/ + +echo ">> Removing Node Modules..." +rm -rf node_modules/ + +echo ">> Removing Static Build Directory..." +rm -rf static/build/ + +echo "> Cleaning Complete." diff --git a/scripts/fresh.sh b/scripts/fresh.sh new file mode 100644 index 0000000..151d878 --- /dev/null +++ b/scripts/fresh.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +set -e + + +echo ">> Removing VirtualEnv..." +rm -rf env/ + +echo ">> Removing Collected Static Files..." +rm -rf collected-static/ + +echo ">> Removing Private Data..." +rm -rf private/ + +echo ">> Removing Node Modules..." +rm -rf node_modules/ + +echo ">> Removing Static Build Directory..." +rm -rf static/build/ + +echo ">> Removing Stray Files and Folders..." +rm -rf htmlcov/ .coverage + +echo ">> Removing Database..." +rm -rf database.db + +echo "> Much Fresher!"