1
Fork 0

Added clean and freshen scripts

This commit is contained in:
Jake Howard 2016-01-24 22:06:17 +00:00
parent 18d57477e9
commit 7bd05a7238
2 changed files with 42 additions and 0 deletions

15
scripts/clean.sh Normal file
View file

@ -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."

27
scripts/fresh.sh Normal file
View file

@ -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!"