22 lines
753 B
Makefile
22 lines
753 B
Makefile
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: build
|
|
cargo run
|
|
server:
|
|
hugo server --noHTTPCache --disableFastRender
|
|
dev:
|
|
NODE_ENV=development ./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 -w
|
|
api:
|
|
cargo build
|
|
clean:
|
|
cargo clean
|
|
rm -rf bld/
|
|
test:
|
|
RUST_LOG=debug cargo test --benches --tests --all-features -- --nocapture
|
|
|
|
alias b:= build
|
|
alias r:= run
|
|
alias s:= server
|