diff --git a/Makefile b/Makefile index 423b51044..2fbdf499a 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,7 @@ test-evm: # Verify that the contracts do not include PUSH0 opcodes +.PHONY: test-push0 test-push0: cd evm && forge build --extra-output evm.bytecode.opcodes @if grep -qr --include \*.json PUSH0 ./evm/out; then echo "Contract uses PUSH0 instruction" 1>&2; exit 1; else echo "PUSH0 Verification Succeeded"; fi @@ -60,7 +61,7 @@ test-anchor: test-solana: build-solana test-solana-unit build-anchor test-anchor -.PHONY: lint +.PHONY: lint-solana lint-solana: cargo fmt --check --all --manifest-path solana/Cargo.toml cargo check --workspace --tests --manifest-path solana/Cargo.toml