15 lines
475 B
Makefile
15 lines
475 B
Makefile
# Build the page first, then the server with the page inside it.
|
|
build:
|
|
cd crates/ui && trunk build --release
|
|
cargo build --release -p sccache-dash
|
|
|
|
test:
|
|
cargo test -p sccache-dash -p sccache-dash-api
|
|
|
|
run:
|
|
cargo run -p sccache-dash
|
|
|
|
# Screenshots of the whole page at the 3, 2 and 1 column widths; read them before merging a page change.
|
|
shots url="http://127.0.0.1:8226/" out="target/shots":
|
|
prlimit --core=1:1 -- node scripts/shots.js {{url}} {{out}}
|