delve/Makefile

40 lines
1019 B
Makefile
Raw Permalink Normal View History

2015-05-15 20:20:40 +00:00
.DEFAULT_GOAL=test
2015-12-13 21:51:11 +00:00
SHELL := /bin/bash
GO_SRC := $(shell find . -type f -not -path './_fixtures/*' -not -path './vendor/*' -not -path './_scripts/*' -not -path './localtests/*' -name '*.go')
2015-08-08 19:30:43 +00:00
check-cert:
@go run _scripts/make.go check-cert
2015-08-03 14:34:39 +00:00
build: $(GO_SRC)
@go run _scripts/make.go build
2015-03-01 03:07:08 +00:00
install: $(GO_SRC)
@go run _scripts/make.go install
2015-03-01 03:07:08 +00:00
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)
2015-06-12 19:49:23 +00:00
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)
2017-05-26 18:43:19 +00:00
vendor:
@go run _scripts/make.go vendor
2017-05-26 18:43:19 +00:00
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