File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -569,21 +569,21 @@ smoketest: testchdir
569569 @$(MD5SUM ) test.hex
570570 # test simulated boards on play.tinygo.org
571571ifneq ($(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
573573 @$(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
575575 @$(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
577577 @$(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
579579 @$(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
581581 @$(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
583583 @$(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
585585 @$(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
587587 @$(MD5SUM) test.wasm
588588endif
589589 # test all targets/boards
You can’t perform that action at this time.
0 commit comments