File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,13 @@ $(CONTRACTS_BUILD_DIR): $(shell find $(CONTRACTS_DIR) -type f)
8282 @mkdir -p $@
8383 @echo " Building main contracts..."
8484 @cd $(CONTRACTS_DIR ) && asdf exec scarb build || { echo " Main contracts build failed!" ; exit 1; }
85- @cp $(CONTRACTS_DIR ) /target/dev/ * $@
85+ @find $(CONTRACTS_DIR ) /target/dev -maxdepth 1 -type f -exec cp {} $@ \;
8686 @echo " Building VRF contracts..."
8787 @cd $(VRF_DIR ) && asdf exec scarb build || { echo " VRF contracts build failed!" ; exit 1; }
88- @cp $(VRF_DIR ) /target/dev/ * $@
88+ @find $(VRF_DIR ) /target/dev -maxdepth 1 -type f -exec cp {} $@ \;
8989 @echo " Building AVNU contracts..."
9090 @cd $(AVNU_DIR ) && ASDF_SCARB_VERSION=$(AVNU_SCARB_VERSION ) asdf exec scarb build || { echo " AVNU contracts build failed!" ; exit 1; }
91- @cp $(AVNU_DIR ) /target/dev/ * $@
91+ @find $(AVNU_DIR ) /target/dev -maxdepth 1 -type f -exec cp {} $@ \;
9292
9393$(EXPLORER_UI_DIR ) :
9494 @echo " Initializing Explorer UI submodule..."
You can’t perform that action at this time.
0 commit comments