Преглед изворни кода

contract: Match only .rs files for make dependencies.

parazyd пре 3 година
родитељ
комит
e421b08512

+ 2 - 2
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

+ 2 - 2
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

+ 2 - 2
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

+ 2 - 2
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