* Move theme back into this repo * Ignore theme files in prettier for now * Update theme files * Update run commands and docs
22 lines
346 B
Bash
Executable File
22 lines
346 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit -o pipefail
|
|
|
|
yarn cache clean
|
|
hugo mod clean
|
|
|
|
rm -rf _vendor
|
|
rm -rf public
|
|
rm -rf node_modules
|
|
rm -rf themes/default/theme/node_modules
|
|
|
|
for dir in themes/* ; do
|
|
pushd $dir
|
|
hugo mod clean
|
|
rm -rf resources
|
|
rm -rf node_modules
|
|
rm -rf static/js
|
|
rm -rf static/css
|
|
popd
|
|
done
|