generated from Patagia/template-nix
parent
af28c60984
commit
1317c3b721
5 changed files with 1316 additions and 19 deletions
14
justfile
14
justfile
|
@ -1,18 +1,16 @@
|
|||
set shell := ["/usr/bin/env", "bash", "-euo", "pipefail", "-c"]
|
||||
|
||||
export OTEL_SERVICE_NAME := "my-program"
|
||||
|
||||
[private]
|
||||
default:
|
||||
@just --choose
|
||||
|
||||
# Run
|
||||
run $RUST_LOG="debug":
|
||||
nix run
|
||||
# Run controller
|
||||
run-controller $RUST_LOG="debug":
|
||||
cargo run --package patagia-controller
|
||||
|
||||
# Run local development
|
||||
dev:
|
||||
watchexec --clear --restart --stop-signal INT --debounce 300ms -- just run
|
||||
# Run controller local development
|
||||
dev-controller:
|
||||
watchexec --clear --restart --stop-signal INT --debounce 300ms -- just run-controller
|
||||
|
||||
# Run all tests
|
||||
check:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue