
* Better tracking of current goroutine * More efficient, eliminates superfluous step syscalls * Handles concurrency and thread coordination better
23 lines
602 B
Makefile
23 lines
602 B
Makefile
UNAME = $(shell uname)
|
|
PREFIX=github.com/derekparker/delve
|
|
|
|
build:
|
|
go build github.com/derekparker/delve/cmd/dlv
|
|
ifeq "$(UNAME)" "Darwin"
|
|
codesign -s $(CERT) ./dlv
|
|
endif
|
|
|
|
install:
|
|
go install github.com/derekparker/delve/cmd/dlv
|
|
ifeq "$(UNAME)" "Darwin"
|
|
codesign -s $(CERT) $(GOPATH)/bin/dlv
|
|
endif
|
|
|
|
test:
|
|
ifeq "$(UNAME)" "Darwin"
|
|
go test $(PREFIX)/command $(PREFIX)/dwarf/frame $(PREFIX)/dwarf/op $(PREFIX)/dwarf/util $(PREFIX)/source $(PREFIX)/dwarf/line
|
|
cd proctl && go test -c $(PREFIX)/proctl && codesign -s $(CERT) ./proctl.test && ./proctl.test && rm ./proctl.test
|
|
else
|
|
go test ./...
|
|
endif
|