gitlab.com/Raven-IO/raven-delve@v1.22.4/Makefile (about)

     1  .DEFAULT_GOAL=test
     2  
     3  SHELL := /bin/bash
     4  GO_SRC := $(shell find . -type f -not -path './_fixtures/*' -not -path './vendor/*' -not -path './_scripts/*' -not -path './localtests/*' -name '*.go')
     5  
     6  check-cert:
     7  	@go run _scripts/make.go check-cert
     8  
     9  build: $(GO_SRC)
    10  	@go run _scripts/make.go build
    11  
    12  install: $(GO_SRC)
    13  	@go run _scripts/make.go install
    14  
    15  uninstall:
    16  	@go run _scripts/make.go uninstall
    17  
    18  test: vet
    19  	@go run _scripts/make.go test -v
    20  
    21  vet:
    22  	@go vet -tags exp.linuxppc64le $$(go list -tags exp.linuxppc64le ./... | grep -v native)
    23  
    24  test-proc-run:
    25  	@go run _scripts/make.go test -s proc -r $(RUN)
    26  
    27  test-integration-run:
    28  	@go run _scripts/make.go test -s service/test -r $(RUN)
    29  
    30  vendor:
    31  	@go run _scripts/make.go vendor
    32  
    33  build-ebpf-image:
    34  	./pkg/proc/internal/ebpf/build/build-ebpf-builder-img.sh
    35  
    36  build-ebpf-object: build-ebpf-image
    37  	./pkg/proc/internal/ebpf/build/build-ebpf-objects.sh
    38  
    39  .PHONY: vendor test-integration-run test-proc-run test check-cert install build vet uninstall build-ebpf-image build-ebpf-object