feat: enhance insights page with highlighted text for ratings and seasonality
Some checks failed
CI / Check / Test (push) Has been cancelled
Some checks failed
CI / Check / Test (push) Has been cancelled
This commit is contained in:
25
Makefile
25
Makefile
@@ -83,4 +83,27 @@ fix:
|
||||
cargo fmt
|
||||
cargo clippy --fix --allow-dirty --allow-staged
|
||||
|
||||
.PHONY: check fmt fmt-check clippy test fix check-appcontext check-handler-deps check-handler-repos check-presentation-adapters check-federation-off-social check-social-crates-are-ap-free
|
||||
# Run the dev stack:
|
||||
# server (:3000, in the foreground, Ctrl-C stops it)
|
||||
# worker (background, log at /tmp/movies-diary-worker.log)
|
||||
# spa (:5173, background, log at /tmp/movies-diary-spa.log)
|
||||
# Tear down the background processes with `make dev-stop`.
|
||||
# .env enables EVENT_BUS_BACKEND=nats, so both binaries are built with the nats feature.
|
||||
dev: dev-worker dev-spa
|
||||
cargo run -p server --features nats
|
||||
|
||||
dev-stop:
|
||||
-pkill -f '[t]arget.debug.worker' || true
|
||||
-pkill -f '[s]pa/node_modules/[.]bin/vite' || true
|
||||
@echo "dev stack stopped"
|
||||
|
||||
dev-worker:
|
||||
@bash -c 'nohup cargo run -p worker --features nats >> /tmp/movies-diary-worker.log 2>&1 & echo "worker → pid $$! (log: /tmp/movies-diary-worker.log)"'
|
||||
|
||||
dev-spa:
|
||||
@bash -c 'nohup npm --prefix spa run dev >> /tmp/movies-diary-spa.log 2>&1 & echo "spa → pid $$! (log: /tmp/movies-diary-spa.log, http://localhost:5173)"'
|
||||
|
||||
spa-dev:
|
||||
@npm --prefix spa run dev
|
||||
|
||||
.PHONY: check fmt fmt-check clippy test fix dev dev-stop dev-worker dev-spa spa-dev check-appcontext check-handler-deps check-handler-repos check-presentation-adapters check-federation-off-social check-social-crates-are-ap-free
|
||||
|
||||
Reference in New Issue
Block a user