aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/k8s/Makefile
blob: b42e48acc763efdfd780fc55972ee2eecc4a3a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PROJECT = check
BIN_DIR = bin
BIN = check

all: run

run: build
	$(BIN_DIR)/$(BIN)

build: $(BIN)

$(BIN): export GOPATH = $(shell pwd)
$(BIN):
	go install $(PROJECT)/cmd/$(BIN)

test: export GOPATH = $(shell pwd)
test:
	go test $(PROJECT)/...

clean:
	-rm $(BIN_DIR)/$(BIN)
	-rmdir $(BIN_DIR)

.PHONY: all run build test clean $(BIN)