Skip to content

Commit

Permalink
Fix the just dev target.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirTalwar committed Mar 11, 2024
1 parent f17bd92 commit 0173b82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

# direnv
/.direnv

# testing
/tmp/empty
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
pkgs.cargo-edit
pkgs.cargo-machete
pkgs.cargo-nextest
pkgs.cargo-watch
pkgs.clippy
pkgs.rust-analyzer
pkgs.rustPlatform.rustcSrc
Expand Down
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ build:
# re-build on code changes, and run the reference agent each time a build is
# successful
dev:
mkdir -p ./tmp/empty
cargo watch \
-x test \
-x 'run --bin ndc_hub_example \
-- serve --configuration <(echo 'null') \
-- serve --configuration ./tmp/empty \
--otlp-endpoint http://localhost:4317'

format:
Expand Down

0 comments on commit 0173b82

Please sign in to comment.