fixing up the api to work better for nix and move the table format

This commit is contained in:
Chris Cochrun 2025-06-23 15:13:42 -05:00
parent 774328aa5b
commit ee252aec13
7 changed files with 305 additions and 96 deletions

View file

@ -3,7 +3,7 @@ default:
build:
tailwindcss -i static/css/base.css -o static/css/main.css && zola build
serve:
zola serve
zola serve -p 4242
uglify:
uglifyjs ./src/js/main.js --compress --mangle -o ./static/js/main.js && uglifyjs ./src/js/page.js --compress --mangle -o ./static/js/page.js && uglifyjs ./src/js/search.js --compress --mangle -o ./static/js/search.js && uglifyjs ./src/js/lang.js --compress --mangle -o ./static/js/lang.js
dev:
@ -14,3 +14,5 @@ clean:
cargo clean
test:
RUST_LOG=debug cargo test --benches --tests --all-features -- --nocapture
run:
tailwindcss -i static/css/base.css -o static/css/main.css --watch & zola build && cargo run -- -d