Skip to content

Commit b857f84

Browse files
committed
fix: example Makefiles emit bin/*.capnpc (rename leftover)
Sweep matching 48deb27 for chess, discovery, auction, and mindshare. All four init.d scripts already load bin/<name>.capnpc (per 236afcf), but their Makefiles still wrote .schema.
1 parent 48deb27 commit b857f84

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

examples/auction/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ all:
1717
@# Copy compiled schema bytes next to the WASM binary.
1818
@AUCTION_OUT=$$(find target/$(WASM_TARGET)/release/build -path '*/auction-*/out/auction_schema.bin' | head -1) && \
1919
if [ -n "$$AUCTION_OUT" ]; then \
20-
cp "$$AUCTION_OUT" bin/auction.schema; \
20+
cp "$$AUCTION_OUT" bin/auction.capnpc; \
2121
else \
2222
echo "WARNING: auction_schema.bin not found"; \
2323
fi
2424

2525
clean:
26-
rm -f bin/auction.wasm bin/auction.schema
26+
rm -f bin/auction.wasm bin/auction.capnpc
2727
$(CARGO) clean --manifest-path Cargo.toml

examples/chess/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ all:
1717
@# Copy compiled schema bytes next to the WASM binary.
1818
@CHESS_OUT=$$(find $(ROOT)/target/$(WASM_TARGET)/release/build -path '*/chess-*/out/chess_engine_schema.bin' | head -1) && \
1919
if [ -n "$$CHESS_OUT" ]; then \
20-
cp "$$CHESS_OUT" bin/chess-demo.schema; \
20+
cp "$$CHESS_OUT" bin/chess-demo.capnpc; \
2121
else \
2222
echo "WARNING: chess_engine_schema.bin not found"; \
2323
fi
2424

2525
clean:
26-
rm -f bin/chess-demo.wasm bin/chess-demo.schema
26+
rm -f bin/chess-demo.wasm bin/chess-demo.capnpc

examples/discovery/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ all:
1717
@# Copy compiled schema bytes next to the WASM binary.
1818
@GREETER_OUT=$$(find $(ROOT)/target/$(WASM_TARGET)/release/build -path '*/discovery-*/out/greeter_schema.bin' | head -1) && \
1919
if [ -n "$$GREETER_OUT" ]; then \
20-
cp "$$GREETER_OUT" bin/discovery.schema; \
20+
cp "$$GREETER_OUT" bin/discovery.capnpc; \
2121
else \
2222
echo "WARNING: greeter_schema.bin not found"; \
2323
fi
2424

2525
clean:
26-
rm -f bin/discovery.wasm bin/discovery.schema
26+
rm -f bin/discovery.wasm bin/discovery.capnpc

examples/mindshare/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ all:
1717
@# Copy compiled schema bytes next to the WASM binary.
1818
@MINDSHARE_OUT=$$(find target/$(WASM_TARGET)/release/build -path '*/mindshare-*/out/mindshare_schema.bin' | head -1) && \
1919
if [ -n "$$MINDSHARE_OUT" ]; then \
20-
cp "$$MINDSHARE_OUT" bin/mindshare.schema; \
20+
cp "$$MINDSHARE_OUT" bin/mindshare.capnpc; \
2121
else \
2222
echo "WARNING: mindshare_schema.bin not found"; \
2323
fi
2424

2525
clean:
26-
rm -f bin/mindshare.wasm bin/mindshare.schema
26+
rm -f bin/mindshare.wasm bin/mindshare.capnpc
2727
$(CARGO) clean --manifest-path Cargo.toml

0 commit comments

Comments
 (0)