mirror of
https://github.com/syumai/workers.git
synced 2025-03-11 01:39:11 +00:00
output build target directory name in build-examples
This commit is contained in:
parent
c87cca2b5f
commit
ccc1c0f061
3
Makefile
3
Makefile
@ -6,6 +6,7 @@ test:
|
|||||||
build-examples:
|
build-examples:
|
||||||
for dir in $(shell find ./_examples -maxdepth 1 -type d); do \
|
for dir in $(shell find ./_examples -maxdepth 1 -type d); do \
|
||||||
if [ $$dir = "./_examples" ]; then continue; fi; \
|
if [ $$dir = "./_examples" ]; then continue; fi; \
|
||||||
|
echo 'build:' $$dir; \
|
||||||
cd $$dir && GOOS=js GOARCH=wasm go build -o ./build/app.wasm; \
|
cd $$dir && GOOS=js GOARCH=wasm go build -o ./build/app.wasm; \
|
||||||
cd ../../; \
|
cd ../../; \
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user