Skip to content

Commit

Permalink
fix: building with forge
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstevens19 committed Dec 20, 2024
1 parent bba1b06 commit c4709ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ zkout/
# Docs
docs/

.idea

# Dotenv file
.env

Expand Down
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ out = 'out'
libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'
solc_version = '0.8.17'

[fmt]
line_length = 121
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "hardhat test --network hardhat",
"prepare": "husky",
"format": "forge fmt",
"abis": "forge build --out ./out/__ABIS__ --extra-output-files abi --via-ir && ts-node ./parseAbisToBackendFolders.ts",
"abis": "forge build --out ./out/__ABIS__ --skip 'test/**/*.sol' --extra-output-files abi --via-ir && ts-node ./parseAbisToBackendFolders.ts",
"bind": "forge bind --bindings-path ./out/__BINDINGS__ --alloy --skip 'test/**/*.sol' --via-ir",
"build-and-bind": "npm run bind && npm run abis"
},
Expand Down

0 comments on commit c4709ce

Please sign in to comment.