xs/hkexshd/Makefile
Russ Magee e07c5ee996 Updated vis targets to match go-callvis updated cmdline options
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-01-09 23:35:34 -08:00

18 lines
442 B
Makefile

.PHONY: clean all vis lint
EXTPKGS = binary,bytes,crypto,encoding,errors,flag,fmt,internal,io,log,net,os,path,runtime,time,strings,sync,syscall
EXE = $(notdir $(shell pwd))
all:
go build .
clean:
$(RM) $(EXE) $(EXE).exe
vis:
go-callvis -file hkexshd-vis -format png -ignore $(EXTPKGS) -group pkg,type .
../fixup-gv.sh hkexshd.go && cat hkexshd-vis.gv | dot -Tpng -ohkexshd-vis-fixedup.png
lint:
-gometalinter --deadline=60s | sort