Skip to content

Commit

Permalink
use scarb fmt instead of cairo-format
Browse files Browse the repository at this point in the history
  • Loading branch information
augustbleeds committed Sep 4, 2024
1 parent c8e93d6 commit 845a6ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ generate: mockery gomods

.PHONY: format-cairo
format-cairo:
cairo-format -i ./contracts/src/**/*.cairo
cairo-format -i ./examples/**/*.cairo
cd contracts && scarb fmt
cd examples/contracts/aggregator_consumer && scarb fmt

.PHONY: format-cairo-check
format-cairo-check:
cairo-format -c ./contracts/src/**/*.cairo
cairo-format -c ./examples/**/*.cairo
cd contracts && scarb fmt -c
cd examples/contracts/aggregator_consumer && scarb fmt -c

.PHONY: format-ts
format-ts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fn main() {
.try_into()
.unwrap();

// Feel free to modify these
// Feel free to modify these
let answer = 1;
let block_num = 12345;
let observation_timestamp = 1711716556;
Expand Down

0 comments on commit 845a6ff

Please sign in to comment.