Skip to content

Commit 1e1af1a

Browse files
tools: add useful backend scripts for type generations (#439)
* tools: add useful backend scripts for type generations * skip scripts Co-authored-by: dhairya <[email protected]> --------- Co-authored-by: dhairya <[email protected]>
1 parent f52f514 commit 1e1af1a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.0.0",
44
"scripts": {
55
"lint": "prettier ./",
6-
"lint:fix": "npm run lint -- --write"
6+
"lint:fix": "npm run lint -- --write",
7+
"rs:bind": "forge bind --bindings-path ./out/__BINDINGS__ --alloy --skip '(tests|scripts)/**/*.sol'",
8+
"rs:abis": "forge build --out ./out/__FOLDER_ABIS__ --skip '(tests|scripts)/**/*.sol' --extra-output-files abi && rm -rf ./out/__ABIS__ && mkdir -p ./out/__ABIS__ && find ./out/__FOLDER_ABIS__ -name '*.abi.json' -exec cp {} ./out/__ABIS__/ \\;",
9+
"rs:generate": "npm run rs:bind && npm run rs:abis"
710
},
811
"keywords": [],
912
"author": "Aave Labs",

0 commit comments

Comments
 (0)