Skip to content

Commit

Permalink
fix: when generating page_capacities.rs, do not format other source f…
Browse files Browse the repository at this point in the history
…ile (#188)

# Goal
The goal of this PR is to avoid re-formatting all source files when we
only want to generate a new `page_capacities.rs` file.
  • Loading branch information
JoeCap08055 authored Apr 2, 2024
1 parent 91423f6 commit df59434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ clean:
.PHONY: capacities
capacities:
@echo "Generating graph page capacities..."
@cargo test --features=calculate-page-capacity calculate_page_capacities; cargo fmt
@cargo test --features=calculate-page-capacity calculate_page_capacities; rustfmt core/src/graph/page_capacities.rs

.PHONY: all
all: check test clippy deny format build doc
Expand Down

0 comments on commit df59434

Please sign in to comment.