a2s.su/clean_public.sh
2023-08-06 01:36:52 +03:00

19 lines
245 B
Bash
Executable File

#!/bin/sh
files=(
"pages/"
"manifest.webmanifest"
"index.html"
"*.css*"
"*.png"
)
echo -n "Remove all build files in 'public'... "
for file in "${files[@]}"
do
rm -rf ./public/$file &> /dev/null
done
echo "Complete!"