26 lines
563 B
Makefile
26 lines
563 B
Makefile
|
|
build_tests:
|
|
podman build -t rvault-go-tests -f Containerfile ./go_client
|
|
|
|
run_tests: build_tests
|
|
podman run --rm -it --net=host rvault-go-tests
|
|
|
|
build_server:
|
|
cargo build
|
|
|
|
start_server: build_server
|
|
RUST_LOG=server=trace cargo run
|
|
|
|
# watch_server:
|
|
# RUST_LOG=server=trace cargo watch -x run
|
|
|
|
# test_server: build_server build_tests
|
|
# just start_server & sleep 1 && podman run --rm -it --net=host rvault-go-tests
|
|
|
|
check:
|
|
cargo fmt --check
|
|
cargo clippy --all-targets --all-features
|
|
cargo test
|
|
|
|
kill_junk:
|
|
fuser -k 8200/tcp
|