From e421b0851290e897883959401ada1b5908bac021 Mon Sep 17 00:00:00 2001 From: parazyd Date: Sun, 13 Aug 2023 15:32:14 +0200 Subject: [PATCH] contract: Match only .rs files for make dependencies. --- src/contract/consensus/Makefile | 4 ++-- src/contract/dao/Makefile | 4 ++-- src/contract/deployooor/Makefile | 4 ++-- src/contract/money/Makefile | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/contract/consensus/Makefile b/src/contract/consensus/Makefile index 754aeed5c..0e344bcb7 100644 --- a/src/contract/consensus/Makefile +++ b/src/contract/consensus/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = consensus_contract.wasm diff --git a/src/contract/dao/Makefile b/src/contract/dao/Makefile index 5f54bc9c9..db6f68a32 100644 --- a/src/contract/dao/Makefile +++ b/src/contract/dao/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = dao_contract.wasm diff --git a/src/contract/deployooor/Makefile b/src/contract/deployooor/Makefile index ca2f850f2..489ec5a44 100644 --- a/src/contract/deployooor/Makefile +++ b/src/contract/deployooor/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = deployooor_contract.wasm diff --git a/src/contract/money/Makefile b/src/contract/money/Makefile index d97dbf82b..9e23fec40 100644 --- a/src/contract/money/Makefile +++ b/src/contract/money/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = money_contract.wasm