Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check cairo contracts formatting #1460

Merged
merged 6 commits into from
Aug 28, 2024
Merged
6 changes: 4 additions & 2 deletions starknet_py/tests/e2e/mock/compile_contracts.sh
franciszekjob marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ compile_contracts_with_scarb() {

setup_scarb "$SCARB_VERSION"

echo "Compiling Cairo contracts with scarb $SCARB_VERSION"

pushd "$CONTRACTS_DIRECTORY" >/dev/null || exit 1

scarb fmt --check

echo "Compiling Cairo contracts with scarb $SCARB_VERSION"
scarb clean && scarb build
popd >/dev/null || exit 1
}
Expand Down
Loading