From 8e3882c0aebf007e72258886edd448e4c5f52cbf Mon Sep 17 00:00:00 2001 From: syumai Date: Sun, 23 Feb 2025 22:49:06 +0900 Subject: [PATCH] remove version from workers-assets-gen command call --- _templates/cloudflare/cron-go/Makefile | 2 +- _templates/cloudflare/cron-tinygo/Makefile | 2 +- _templates/cloudflare/pages-tinygo/Makefile | 2 +- _templates/cloudflare/worker-go/Makefile | 2 +- _templates/cloudflare/worker-tinygo/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_templates/cloudflare/cron-go/Makefile b/_templates/cloudflare/cron-go/Makefile index f372706..60dc48e 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 beb82a0..eea186a 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 686c773..f7939d6 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 f372706..60dc48e 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 beb82a0..eea186a 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