From 2be1e0dfa50afa07af65124bfdfa49c398e9fe72 Mon Sep 17 00:00:00 2001 From: syumai Date: Wed, 3 Jan 2024 00:28:42 +0900 Subject: [PATCH] update workers-assets-gen cmd in examples to v0.20.0 --- _templates/cloudflare/pages-tinygo/Makefile | 2 +- _templates/cloudflare/worker-go/Makefile | 2 +- _templates/cloudflare/worker-tinygo/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_templates/cloudflare/pages-tinygo/Makefile b/_templates/cloudflare/pages-tinygo/Makefile index 50e0822..be2a036 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.18.0 + go run github.com/syumai/workers/cmd/workers-assets-gen@v0.20.0 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 089b51d..ba40a8e 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.18.0 -mode=go + go run github.com/syumai/workers/cmd/workers-assets-gen@v0.20.0 -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 580e61e..04b0740 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.18.0 + go run github.com/syumai/workers/cmd/workers-assets-gen@v0.20.0 tinygo build -o ./build/app.wasm -target wasm -no-debug ./... .PHONY: deploy