File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,14 @@ epithet-ca:
12
12
epithet-auth : internal/agent/agent.pb.go
13
13
go build ./cmd/epithet-auth
14
14
15
- .PHONE : generate
16
- generate :
15
+ .PHONY : generate
16
+ generate : internal/agent/agent.pb.go
17
+
18
+ internal/agent/agent.pb.go :
17
19
go generate ./...
18
20
19
21
.PHONY : build
20
- build : generate epithet-agent epithet-ca epithet-auth
22
+ build : internal/agent/agent.pb.go epithet-agent epithet-ca epithet-auth
21
23
22
24
.PHONY : test
23
25
test : test-support # # build and run test plumbing
@@ -27,21 +29,21 @@ test/test_sshd/.built_$(DOCKER_TEST_SSHD_VERSION):
27
29
cd test/test_sshd; docker build -t brianm/epithet-test-sshd:$(DOCKER_TEST_SSHD_VERSION ) . ; touch .built_$(DOCKER_TEST_SSHD_VERSION )
28
30
29
31
.PHONY : test-support
30
- test-support : generate test/test_sshd/.built_$(DOCKER_TEST_SSHD_VERSION )
32
+ test-support : internal/agent/agent.pb.go test/test_sshd/.built_$(DOCKER_TEST_SSHD_VERSION )
31
33
32
34
.PHONY : clean
33
35
clean : # # clean all local resources
34
36
go clean ./...
35
37
go clean -testcache
36
38
rm -f epithet-*
37
- rm -rf internal/agent/agent.pb.go
38
39
rm -rf dist
39
40
40
41
.PHONY : clean-all
41
42
clean-all : clean
42
43
rm -f test/test_sshd/.built_*
43
44
go clean -cache
44
45
go clean -modcache
46
+ rm -rf internal/agent/agent.pb.go
45
47
docker rmi -f brianm/epithet-test-sshd:$(DOCKER_TEST_SSHD_VERSION )
46
48
47
49
.PHONY : help
You can’t perform that action at this time.
0 commit comments