Skip to content

Commit

Permalink
fix: update before build
Browse files Browse the repository at this point in the history
  • Loading branch information
Samika Kashyap authored and Samika Kashyap committed Jul 26, 2024
1 parent cffbab2 commit 1c79e8c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CARGO = CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse RUSTFLAGS="--cfg tokio_unstable -D warnings" cargo

.PHONY: all
all: update build check-fmt check-clippy test
all: build check-fmt check-clippy test

.PHONY: test
test:
Expand All @@ -16,6 +16,10 @@ test:
check-fmt:
cargo fmt --all -- --check

.PHONY: update
update:
${CARGO} update

.PHONY: check-clippy
check-clippy:
# Check with default features
Expand All @@ -24,7 +28,7 @@ check-clippy:
${CARGO} clippy --workspace --all-features

.PHONY: build
build: runner operator
build: update runner operator

.PHONY: runner
runner:
Expand Down

0 comments on commit 1c79e8c

Please sign in to comment.