mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
Adds "make build" target, and running lint,build,test (#1331)
This commit is contained in:
parent
b40ba175a3
commit
b28d8361f5
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
|
@ -129,8 +129,12 @@ dep-ensure:
|
|||
lint:
|
||||
golangci-lint run --fix
|
||||
|
||||
.PHONY: build
|
||||
build: lint
|
||||
go build `go list ./... | grep -v resource_customizations`
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
test: build
|
||||
go test -covermode=count -coverprofile=coverage.out `go list ./... | grep -v "github.com/argoproj/argo-cd/test/e2e"`
|
||||
|
||||
.PHONY: test-e2e
|
||||
|
|
@ -147,7 +151,7 @@ clean: clean-debug
|
|||
-rm -rf ${CURRENT_DIR}/dist
|
||||
|
||||
.PHONY: pre-commit
|
||||
pre-commit: dep-ensure codegen test lint
|
||||
pre-commit: dep-ensure codegen test
|
||||
|
||||
.PHONY: release-precheck
|
||||
release-precheck: manifests
|
||||
|
|
|
|||
Loading…
Reference in a new issue