Skip to content

Commit

Permalink
build: clean cache and recompile in CI pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
huyhuynh3103 committed Jan 18, 2024
1 parent 01f004d commit 7da3c7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ stashed=true
if [[ $output == *"No local changes to save"* ]]; then
stashed=false
fi

forge build --skip test/ script/ --sizes 2>&1 | sed -n '/Contract/,$p' > logs/contract-code-sizes.log
forge build --force --skip test/ script/ --sizes 2>&1 | sed -n '/Contract/,$p' > logs/contract-code-sizes.log
.husky/generate-layout.sh

git add logs
Expand Down

0 comments on commit 7da3c7a

Please sign in to comment.