From 7bd05a7238009b1346b1039cd9c7d0d988df23a1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 24 Jan 2016 22:06:17 +0000 Subject: [PATCH] Added clean and freshen scripts --- scripts/clean.sh | 15 +++++++++++++++ scripts/fresh.sh | 27 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 scripts/clean.sh create mode 100644 scripts/fresh.sh 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!"