Skip to content

Commit

Permalink
feat(evm): wire up componentInterface script for build
Browse files Browse the repository at this point in the history
  • Loading branch information
topocount committed Sep 12, 2024
1 parent 4edb620 commit 655656e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ docs

# don't commit local testnet deploys
packages/evm/deploys/31337.json
# don't commit componentInterfaces, since these are used at build time
packages/evm/deploys/componentInterfaces.json
17 changes: 0 additions & 17 deletions packages/evm/deploys/componentInterfaces.json

This file was deleted.

3 changes: 2 additions & 1 deletion packages/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"types": "./dist/generated.d.ts",
"typings": "./dist/generated.d.ts",
"scripts": {
"build": "npm run clean && forge build --sizes && wagmi generate && vite build && tsc --build --emitDeclarationOnly --declaration --declarationMap --force",
"build": "npm run clean && npm run build:componentInterfaces && forge build --sizes && wagmi generate && vite build && tsc --build --emitDeclarationOnly --declaration --declarationMap --force",
"build:componentInterfaces": "forge script script/solidity/ComponentInterface.s.sol",
"clean": "forge clean && hardhat clean && rm -rf cache",
"test": "forge test -vvv && hardhat test",
"test:ci": "forge test --summary --detailed -vvv && hardhat test",
Expand Down

0 comments on commit 655656e

Please sign in to comment.