Files
dosh/Makefile
T
Codex 555d738a85
ci / test (push) Has been cancelled
ci / remote-bench (push) Has been cancelled
Initial Dosh implementation
2026-06-11 08:42:28 -04:00

26 lines
532 B
Makefile

.PHONY: build test fmt install bench-local bench-docker-ssh
build:
cargo build --release
test:
cargo test
fmt:
cargo fmt
install:
sh packaging/install.sh
bench-local:
cargo build
tmp="$$(mktemp -d)"; \
HOME="$$tmp" target/debug/dosh-server serve >/tmp/dosh-bench-server.log 2>&1 & \
pid="$$!"; \
trap 'kill "$$pid" 2>/dev/null || true; rm -rf "$$tmp"' EXIT INT TERM; \
sleep 0.5; \
HOME="$$tmp" target/debug/dosh-bench --local-auth --server local --iterations 5
bench-docker-ssh:
sh scripts/ci-docker-ssh-bench.sh