[#113] .gitattributes: Exclude auto-generated files from diff

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-09-09 09:29:41 +03:00
parent bde53fb81f
commit 659d2ed810
2 changed files with 3 additions and 0 deletions

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
rpcclient/*/client.go -diff -merge
rpcclient/*/client.go linguist-generated=true

View file

@ -57,6 +57,7 @@ generate-wrapper.%:
@# in case we need to override the type of some variables.
@# --config $*/$*.bindings.yml
@# Unfortunately, primitive integer types are not yet supported.
@# When changing auto-generated path, don't forget to change .gitattributes too.
$(NEOGO) contract generate-rpcwrapper --manifest=$*/config.json --out ./rpcclient/$*/client.go
generate-wrappers: build $(foreach sc,$(all_sc),generate-wrapper.$(sc))