mirror of
https://github.com/vacp2p/foundry-template.git
synced 2025-01-14 17:44:31 +00:00
chore: add preparation commit command pnpm adorno
This commit is contained in:
parent
078b2747da
commit
96e97ba0e2
5
.github/PULL_REQUEST_TEMPLATE.md
vendored
5
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -7,8 +7,5 @@ Describe the changes made in your pull request here.
|
||||
Ensure you completed **all of the steps** below before submitting your pull request:
|
||||
|
||||
- [ ] Added natspec comments?
|
||||
- [ ] Ran `forge snapshot`?
|
||||
- [ ] Ran `pnpm gas-report`?
|
||||
- [ ] Ran `pnpm lint`?
|
||||
- [ ] Ran `forge test`?
|
||||
- [ ] Ran `pnpm adorno`?
|
||||
- [ ] Ran `pnpm verify`?
|
||||
|
@ -29,6 +29,7 @@
|
||||
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore",
|
||||
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore",
|
||||
"gas-report": "forge test --gas-report 2>&1 | (tee /dev/tty | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)",
|
||||
"release": "commit-and-tag-version"
|
||||
"release": "commit-and-tag-version",
|
||||
"adorno": "pnpm prettier:write && forge fmt && forge snapshot && pnpm gas-report"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user