Skip to content

Commit 515ec97

Browse files
committed
wip
1 parent 63e37e5 commit 515ec97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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..."

0 commit comments

Comments
 (0)