Enhance run script to always start in project directory and handle the lugo style file.

This commit is contained in:
2025-08-13 17:23:10 -07:00
parent 04ffa4bae6
commit ce81906bc6

6
run.sh
View File

@@ -1,5 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
cd $DIR
rm -rfv public rm -rfv public
mkdir -pv public
cp -rv themes/lugo/static/style.css static/
hugo server -D --noBuildLock hugo server -D --noBuildLock