Skip to content

Commit

Permalink
chore: remove existing bindings when generating new ones
Browse files Browse the repository at this point in the history
  • Loading branch information
ricomateo committed Jan 20, 2025
1 parent d4ef497 commit dc9f1fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ bindings:
# Fetch submoduless
cd $(SDK_CONTRACTS_LOCATION) && forge install

# Empty the directories before generating the bindings
rm $(SDK_BINDINGS_PATH)/*
rm $(MIDDLEWARE_BINDINGS_PATH)/*
rm $(CORE_BINDINGS_PATH)/*

# Generate SDK bindings
cd $(SDK_CONTRACTS_LOCATION) && forge build --force --skip test --skip script
forge bind --alloy --skip-build --bindings-path $(SDK_BINDINGS_PATH) --overwrite \
Expand Down

0 comments on commit dc9f1fb

Please sign in to comment.