Skip to content

Commit

Permalink
feat: add justfile
Browse files Browse the repository at this point in the history
file with helper commands for testing and prepping PRs for the repo

ie run `just prep` to fix lint and generate updated snapshots
  • Loading branch information
marktoda committed Jun 12, 2023
1 parent 3a9d4b8 commit 9e4dd59
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
test: test-forge test-hardhat
prep: fix snapshots
snapshots: snapshots-forge snapshots-hardhat

test-forge: install-forge build-forge
forge test

test-hardhat: install-hardhat
yarn test

install-forge:
forge install

install-hardhat:
yarn install

build-forge:
forge build

build-hardhat:
yarn build

snapshots-forge:
forge snapshot

snapshots-hardhat:
yarn snapshots

fix:
forge fmt

0 comments on commit 9e4dd59

Please sign in to comment.