File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
2525clean :
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
Original file line number Diff line number Diff line change 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
2525clean :
26- rm -f bin/chess-demo.wasm bin/chess-demo.schema
26+ rm -f bin/chess-demo.wasm bin/chess-demo.capnpc
Original file line number Diff line number Diff line change 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
2525clean :
26- rm -f bin/discovery.wasm bin/discovery.schema
26+ rm -f bin/discovery.wasm bin/discovery.capnpc
Original file line number Diff line number Diff line change 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
2525clean :
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
You can’t perform that action at this time.
0 commit comments