-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Makefile
39 lines (26 loc) · 1019 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
37
38
39
.DEFAULT_GOAL=test
SHELL := /bin/bash
GO_SRC := $(shell find . -type f -not -path './_fixtures/*' -not -path './vendor/*' -not -path './_scripts/*' -not -path './localtests/*' -name '*.go')
check-cert:
@go run _scripts/make.go check-cert
build: $(GO_SRC)
@go run _scripts/make.go build
install: $(GO_SRC)
@go run _scripts/make.go install
uninstall:
@go run _scripts/make.go uninstall
test: vet
@go run _scripts/make.go test -v
vet:
@go vet -tags exp.linuxppc64le $$(go list -tags exp.linuxppc64le ./... | grep -v native)
test-proc-run:
@go run _scripts/make.go test -s proc -r $(RUN)
test-integration-run:
@go run _scripts/make.go test -s service/test -r $(RUN)
vendor:
@go run _scripts/make.go vendor
build-ebpf-image:
./pkg/proc/internal/ebpf/build/build-ebpf-builder-img.sh
build-ebpf-object: build-ebpf-image
./pkg/proc/internal/ebpf/build/build-ebpf-objects.sh
.PHONY: vendor test-integration-run test-proc-run test check-cert install build vet uninstall build-ebpf-image build-ebpf-object