-
Notifications
You must be signed in to change notification settings - Fork 156
/
Makefile
36 lines (27 loc) · 575 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PKG := github.com/hypnoglow/helm-s3
.PHONY: all
all: deps build
.PHONY: deps
deps:
@go mod tidy
.PHONY: build
build:
@./hack/build.sh $(CURDIR) $(PKG)
.PHONY: build-local
build-local:
HELM_S3_PLUGIN_VERSION=$(shell date -u +"%Y-%m-%dT%H:%M:%SZ") $(MAKE) build
.PHONY: install
install:
@./hack/install.sh
.PHONY: test-unit
test-unit:
go test $$(go list ./... | grep -v e2e)
.PHONY: test-e2e
test-e2e:
go test -v ./tests/e2e/... -run $(or $(RUN),.*)
.PHONY: test-e2e-local
test-e2e-local:
@./hack/test-e2e-local.sh $(RUN)
.PHONY: lint
lint:
@golangci-lint run