working server built betterer in rust

This commit is contained in:
Chris Cochrun 2024-07-05 13:45:49 -05:00
parent 1decdb43a5
commit 0ccbe35ca3
4 changed files with 258 additions and 16 deletions

View file

@ -2,6 +2,8 @@ default:
just --list
build:
rm -rf public && NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit && hugo --gc --minify
run:
cargo run
server:
hugo server --noHTTPCache --disableFastRender
dev:
@ -12,4 +14,4 @@ clean:
cargo clean
rm -rf bld/
test:
RUST_LOG=debug cargo test --benches --tests --all-features -- --nocapture
RUST_LOG=debug cargo test --benches --tests --all-features -- --nocapture