fix: add involves edge from task to agent:nomos at creation
Plus sync vendor directory for Docker build compatibility.
This commit is contained in:
44
vendor/github.com/oapi-codegen/runtime/Makefile
generated
vendored
Normal file
44
vendor/github.com/oapi-codegen/runtime/Makefile
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
GOBASE=$(shell pwd)
|
||||
GOBIN=$(GOBASE)/bin
|
||||
|
||||
$(GOBIN)/golangci-lint:
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v2.10.1
|
||||
|
||||
.PHONY: tools
|
||||
tools: $(GOBIN)/golangci-lint
|
||||
|
||||
lint: tools
|
||||
# run the root module explicitly, to prevent recursive calls by re-invoking `make ...` top-level
|
||||
$(GOBIN)/golangci-lint run ./...
|
||||
# then, for all child modules, use a module-managed `Makefile`
|
||||
git ls-files '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && env GOBIN=$(GOBIN) make lint'
|
||||
|
||||
lint-ci: tools
|
||||
# for the root module, explicitly run the step, to prevent recursive calls
|
||||
$(GOBIN)/golangci-lint run ./... --output.text.path=stdout --timeout=5m
|
||||
# then, for all child modules, use a module-managed `Makefile`
|
||||
git ls-files '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && env GOBIN=$(GOBIN) make lint-ci'
|
||||
|
||||
generate:
|
||||
# for the root module, explicitly run the step, to prevent recursive calls
|
||||
go generate ./...
|
||||
# then, for all child modules, use a module-managed `Makefile`
|
||||
git ls-files '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && make generate'
|
||||
|
||||
test:
|
||||
# for the root module, explicitly run the step, to prevent recursive calls
|
||||
go test -cover ./...
|
||||
# then, for all child modules, use a module-managed `Makefile`
|
||||
git ls-files '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && make test'
|
||||
|
||||
tidy:
|
||||
# for the root module, explicitly run the step, to prevent recursive calls
|
||||
go mod tidy
|
||||
# then, for all child modules, use a module-managed `Makefile`
|
||||
git ls-files '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && make tidy'
|
||||
|
||||
tidy-ci:
|
||||
# for the root module, explicitly run the step, to prevent recursive calls
|
||||
tidied -verbose
|
||||
# then, for all child modules, use a module-managed `Makefile`
|
||||
git ls-files '**/*go.mod' -z | xargs -0 -I{} bash -xc 'cd $$(dirname {}) && make tidy-ci'
|
||||
Reference in New Issue
Block a user