-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gas-reporter): allow gas-reporter to parse stdin (#1688)
- Loading branch information
Showing
2 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@latticexyz/gas-report": minor | ||
--- | ||
|
||
Allow the `gas-report` CLI to parse logs via `stdin`, so it can be used with custom test commands (e.g. `mud test`). | ||
|
||
Usage: | ||
|
||
```sh | ||
# replace `forge test -vvv` with the custom test command | ||
GAS_REPORTER_ENABLED=true forge test -vvv | pnpm gas-report --stdin | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4385c5a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
mud-docs – ./
mud-docs.vercel.app
mud-docs-latticexyz.vercel.app
mud-docs-git-main-latticexyz.vercel.app
www.mud.dev
mud.dev
v2.mud.dev