feat(protocol): validate generated gateway contracts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: verify generate proto-lint proto-breaking source-verify scope-verify conformance frame-verify go-test binding-compile clean-generated
|
||||
.PHONY: verify generate proto-lint proto-breaking source-verify scope-verify conformance frame-verify go-test binding-compile strict-contracts clean-generated
|
||||
|
||||
PYTHON ?= python3
|
||||
PROTOC ?= protoc
|
||||
@@ -29,6 +29,9 @@ binding-compile:
|
||||
rustc --crate-type lib gen/rust/protocol.rs -o /tmp/versevdi-protocol-generated.rlib
|
||||
swiftc -typecheck gen/swift/Protocol.swift
|
||||
|
||||
strict-contracts:
|
||||
$(PYTHON) -B tools/test_generated_contracts.py
|
||||
|
||||
conformance:
|
||||
$(PYTHON) -B tools/fixture_digest.py
|
||||
go run ./tools/go-conformance
|
||||
@@ -40,4 +43,4 @@ frame-verify:
|
||||
clean-generated:
|
||||
$(PYTHON) tools/generate.py --check
|
||||
|
||||
verify: generate proto-lint proto-breaking source-verify scope-verify go-test binding-compile conformance frame-verify clean-generated
|
||||
verify: generate proto-lint proto-breaking source-verify scope-verify go-test binding-compile strict-contracts conformance frame-verify clean-generated
|
||||
|
||||
Reference in New Issue
Block a user