mirror of
https://github.com/go-delve/delve.git
synced 2026-05-05 20:26:14 +02:00
* Documentation: document AI policy / add agent files AI coding agents are here and seemingly here to stay. They have become pretty quicly ingrained in a lot of developer workflows. To that end, I would like to provide some guidence on AI usage within this project, and provide an initial AGENTS.md/CLAUDE.md file so that others using AI agents on this project can benefit from those files and hopefully produce better code more quickly. Commiting these agent files to the repo will also let other contributors update this document as needed or as new features are added. The AI policy has been taken from the ghostty project, with attribution. * address feedback * add link to readme
34 lines
874 B
Makefile
34 lines
874 B
Makefile
.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)
|
|
|
|
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
|