rebuild templates on make update-runtimes (#1835)

This commit is contained in:
Luke Kingland 2023-07-01 04:24:28 +09:00 committed by GitHub
parent 883dcbb203
commit b38d19b2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -171,7 +171,10 @@ test-typescript: ## Test Typescript templates
##@ Scaffolding
###############
update-runtimes: ## Update Scaffolding Runtimes
# Pulls runtimes then rebuilds the embedded filesystem
update-runtimes: pull-runtimes generate/zz_filesystem_generated.go ## Update Scaffolding Runtimes
pull-runtimes:
cd templates/go/scaffolding/instanced-http && go get -u github.com/lkingland/func-runtime-go/http
cd templates/go/scaffolding/static-http && go get -u github.com/lkingland/func-runtime-go/http
cd templates/go/scaffolding/instanced-cloudevents && go get -u github.com/lkingland/func-runtime-go/cloudevents