chore: cache modd tool
arcad/edge/pipeline/head This commit looks good Details

This commit is contained in:
wpetit 2023-04-20 13:57:40 +02:00
parent 78307b6850
commit 9944a37670
1 changed files with 7 additions and 3 deletions

View File

@ -15,8 +15,8 @@ SHELL := bash
build: build-edge-cli build-client-sdk-test-app build: build-edge-cli build-client-sdk-test-app
watch: watch: tools/modd/bin/modd
go run -mod=readonly github.com/cortesi/modd/cmd/modd@latest tools/modd/bin/modd
.PHONY: test .PHONY: test
test: test-go test: test-go
@ -102,3 +102,7 @@ tools/yq/bin/yq:
mkdir -p tools/yq/bin mkdir -p tools/yq/bin
curl -L --output tools/yq/bin/yq https://github.com/mikefarah/yq/releases/download/v4.31.1/yq_linux_amd64 curl -L --output tools/yq/bin/yq https://github.com/mikefarah/yq/releases/download/v4.31.1/yq_linux_amd64
chmod +x tools/yq/bin/yq chmod +x tools/yq/bin/yq
tools/modd/bin/modd:
mkdir -p tools/modd/bin
GOBIN=$(PWD)/tools/modd/bin go install -mod=readonly github.com/cortesi/modd/cmd/modd@latest