File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -569,21 +569,21 @@ smoketest: testchdir
569
569
@$(MD5SUM ) test.hex
570
570
# test simulated boards on play.tinygo.org
571
571
ifneq ($(WASM ) , 0)
572
- $(TINYGO) build -size short -o test.wasm -tags=arduino examples/blinky1
572
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=arduino examples/blinky1
573
573
@$(MD5SUM) test.wasm
574
- $(TINYGO) build -size short -o test.wasm -tags=hifive1b examples/blinky1
574
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=hifive1b examples/blinky1
575
575
@$(MD5SUM) test.wasm
576
- $(TINYGO) build -size short -o test.wasm -tags=reelboard examples/blinky1
576
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=reelboard examples/blinky1
577
577
@$(MD5SUM) test.wasm
578
- $(TINYGO) build -size short -o test.wasm -tags=microbit examples/microbit-blink
578
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=microbit examples/microbit-blink
579
579
@$(MD5SUM) test.wasm
580
- $(TINYGO) build -size short -o test.wasm -tags=circuitplay_express examples/blinky1
580
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=circuitplay_express examples/blinky1
581
581
@$(MD5SUM) test.wasm
582
- $(TINYGO) build -size short -o test.wasm -tags=circuitplay_bluefruit examples/blinky1
582
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=circuitplay_bluefruit examples/blinky1
583
583
@$(MD5SUM) test.wasm
584
- $(TINYGO) build -size short -o test.wasm -tags=mch2022 examples/machinetest
584
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=mch2022 examples/machinetest
585
585
@$(MD5SUM) test.wasm
586
- $(TINYGO) build -size short -o test.wasm -tags=gopher_badge examples/blinky1
586
+ GOOS=js GOARCH=wasm $(TINYGO) build -size short -o test.wasm -tags=gopher_badge examples/blinky1
587
587
@$(MD5SUM) test.wasm
588
588
endif
589
589
# test all targets/boards
You can’t perform that action at this time.
0 commit comments