Added clean and freshen scripts
This commit is contained in:
parent
18d57477e9
commit
7bd05a7238
2 changed files with 42 additions and 0 deletions
15
scripts/clean.sh
Normal file
15
scripts/clean.sh
Normal 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
27
scripts/fresh.sh
Normal 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!"
|
Reference in a new issue