chore: add preparation commit command `pnpm adorno`

This commit is contained in:
Ricardo Guilherme Schmidt 2024-02-26 14:04:58 -03:00 committed by r4bbit
parent 078b2747da
commit 96e97ba0e2
2 changed files with 3 additions and 5 deletions

View File

@ -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`?

View File

@ -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"
}
}