fixing up the api to work better for nix and move the table format
This commit is contained in:
parent
774328aa5b
commit
ee252aec13
7 changed files with 305 additions and 96 deletions
4
justfile
4
justfile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue