mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
556a9fcfd0
Signed-off-by: Russ Magee <rmagee@gmail.com>
17 lines
428 B
Makefile
17 lines
428 B
Makefile
.PHONY: clean all vis lint
|
|
|
|
EXTPKGS = bytes,errors,flag,fmt,internal,io,log,net,os,path,runtime,time,strings,sync,syscall,binary,encoding
|
|
EXE = $(notdir $(shell pwd))
|
|
|
|
all:
|
|
go build .
|
|
|
|
clean:
|
|
$(RM) $(EXE) $(EXE).exe
|
|
|
|
vis:
|
|
go-callvis -skipbrowser -output hkexsh-vis -ignore $(EXTPKGS) -group pkg,type .
|
|
../fixup-gv.sh hkexsh.go && cat hkexsh-vis.gv | dot -Tpng -ohkexsh-vis.gv.png
|
|
|
|
lint:
|
|
-gometalinter --deadline=60s | sort
|