فهرست منبع

contract: Match only .rs files for make dependencies.

parazyd 3 سال پیش
والد
کامیت
e421b08512
4فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 2 2
      src/contract/consensus/Makefile
  2. 2 2
      src/contract/dao/Makefile
  3. 2 2
      src/contract/deployooor/Makefile
  4. 2 2
      src/contract/money/Makefile

+ 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