output build target directory name in build-examples

This commit is contained in:
syumai 2024-04-16 23:27:26 +09:00
parent c87cca2b5f
commit ccc1c0f061

View File

@ -6,6 +6,7 @@ test:
build-examples:
for dir in $(shell find ./_examples -maxdepth 1 -type d); do \
if [ $$dir = "./_examples" ]; then continue; fi; \
echo 'build:' $$dir; \
cd $$dir && GOOS=js GOARCH=wasm go build -o ./build/app.wasm; \
cd ../../; \
done