Skip to content

Commit f0b9182

Browse files
committed
build-simulator merge to build
1 parent 5ac6448 commit f0b9182

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

workspace/Makefile

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,10 @@ build:
5353
done; \
5454
else \
5555
$(MAKE) -e -C contracts/$(CONTRACT) build; \
56-
fi
57-
58-
build-simulator:
59-
@set -eu;\
60-
if [ ! -d native-simulators ] || [ -z "$$(ls -A native-simulators)" ]; then \
61-
echo "There is no native-simulator to compile."; \
62-
echo "If necessary, please use:"; \
63-
echo "make generate-native-simulator CRATE=<existing contract>"; \
64-
else \
65-
mkdir -p $(BUILD_DIR); \
66-
for sim in $(wildcard native-simulators/*); do \
67-
cd $$sim && cargo build && cd ../..; \
68-
done; \
69-
cp target/debug/*_sim.* $(BUILD_DIR); \
70-
fi
56+
fi; \
57+
for sim in $(wildcard native-simulators/*); do \
58+
cd $$sim && cargo build && cd ../..; \
59+
done; \
7160

7261
# Run a single make task for a specific contract. For example:
7362
#

0 commit comments

Comments
 (0)