Skip to content

Commit 2be7b2e

Browse files
authored
fix: remove address check from build command (yearn#534)
* fix: remove address check from build command * chore: update readme * update package scripts
1 parent d4cc437 commit 2be7b2e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ This command starts a local development server and opens up a browser window. Mo
8989
yarn start
9090
```
9191

92+
Running `yarn start` will also run a script that checks the validity of smart contract addresses in the docs against a local constants file. This runs on every dev run as a way to keep the checks updated and the information about them on the site current (all PRs will include an update to last check time). If you want to run `yarn start` without the `runAddressChecks` script running you can run `yarn start-no-check`.
93+
9294
## Build
9395

9496
This command generates static content into the `build` directory and can be served using any static content hosting service.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"docusaurus": "docusaurus",
77
"get-branch-name": "git rev-parse --abbrev-ref HEAD > .branch-name",
88
"start": "yarn runAddressCheck && yarn get-branch-name && BRANCH_NAME=$(cat .branch-name) IS_DEV=true docusaurus start",
9-
"build": "yarn runAddressCheck && docusaurus build",
9+
"start-no-check": "yarn get-branch-name && BRANCH_NAME=$(cat .branch-name) IS_DEV=true docusaurus start",
10+
"build": "docusaurus build",
1011
"swizzle": "docusaurus swizzle",
1112
"deploy": "docusaurus deploy",
1213
"clear": "docusaurus clear",

0 commit comments

Comments
 (0)