Files
artcraft/blog/zola_example/scripts/clean.sh
T
2024-08-26 12:06:32 -04:00

13 lines
215 B
Bash
Executable File

#!/bin/bash
if [ -d "deploy" ]; then
echo "deleting the deploy directory..."
rm -rf deploy
echo "done."
fi
if [ -d "public" ]; then
echo "deleting the public directory..."
rm -rf public
echo "done."
fi