Skip to content

Commit

Permalink
build: add taplo to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
th7nder committed May 15, 2024
1 parent 6f26c13 commit 070143c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ alias b := build
alias r := release
alias t := testnet

build:
lint:
taplo lint && taplo fmt --check

build: lint
cargo build

release:
release: lint
cargo build --release

testnet: release
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
pkg-config
rustToolchain
just
taplo
polkadot
# Due to zombienet's flake.nix, needs to be prefixed with pkg.zombienet
pkgs.zombienet.default
Expand Down

0 comments on commit 070143c

Please sign in to comment.