diff --git a/_templates/cloudflare/cron-go/Makefile b/_templates/cloudflare/cron-go/Makefile index f3727065..60dc48e1 100644 --- a/_templates/cloudflare/cron-go/Makefile +++ b/_templates/cloudflare/cron-go/Makefile @@ -4,7 +4,7 @@ dev: .PHONY: build build: - go run github.com/syumai/workers/cmd/workers-assets-gen@v0.28.1 -mode=go + go run github.com/syumai/workers/cmd/workers-assets-gen -mode=go GOOS=js GOARCH=wasm go build -o ./build/app.wasm . .PHONY: deploy diff --git a/_templates/cloudflare/cron-tinygo/Makefile b/_templates/cloudflare/cron-tinygo/Makefile index beb82a05..eea186aa 100644 --- a/_templates/cloudflare/cron-tinygo/Makefile +++ b/_templates/cloudflare/cron-tinygo/Makefile @@ -4,7 +4,7 @@ dev: .PHONY: build build: - go run github.com/syumai/workers/cmd/workers-assets-gen@v0.28.1 + go run github.com/syumai/workers/cmd/workers-assets-gen tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy diff --git a/_templates/cloudflare/pages-tinygo/Makefile b/_templates/cloudflare/pages-tinygo/Makefile index 686c7738..f7939d6f 100644 --- a/_templates/cloudflare/pages-tinygo/Makefile +++ b/_templates/cloudflare/pages-tinygo/Makefile @@ -4,7 +4,7 @@ dev: .PHONY: build build: - go run github.com/syumai/workers/cmd/workers-assets-gen@v0.28.1 + go run github.com/syumai/workers/cmd/workers-assets-gen tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy diff --git a/_templates/cloudflare/worker-go/Makefile b/_templates/cloudflare/worker-go/Makefile index f3727065..60dc48e1 100644 --- a/_templates/cloudflare/worker-go/Makefile +++ b/_templates/cloudflare/worker-go/Makefile @@ -4,7 +4,7 @@ dev: .PHONY: build build: - go run github.com/syumai/workers/cmd/workers-assets-gen@v0.28.1 -mode=go + go run github.com/syumai/workers/cmd/workers-assets-gen -mode=go GOOS=js GOARCH=wasm go build -o ./build/app.wasm . .PHONY: deploy diff --git a/_templates/cloudflare/worker-tinygo/Makefile b/_templates/cloudflare/worker-tinygo/Makefile index beb82a05..eea186aa 100644 --- a/_templates/cloudflare/worker-tinygo/Makefile +++ b/_templates/cloudflare/worker-tinygo/Makefile @@ -4,7 +4,7 @@ dev: .PHONY: build build: - go run github.com/syumai/workers/cmd/workers-assets-gen@v0.28.1 + go run github.com/syumai/workers/cmd/workers-assets-gen tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy