2018-11-25 18:24:10 +00:00
|
|
|
.PHONY: clean all vis lint
|
2018-05-27 06:44:13 +00:00
|
|
|
|
2018-11-22 01:06:09 +00:00
|
|
|
EXTPKGS = bytes,errors,flag,fmt,internal,io,log,net,os,path,runtime,time,strings,sync,syscall,binary,encoding
|
2018-05-27 06:44:13 +00:00
|
|
|
EXE = $(notdir $(shell pwd))
|
|
|
|
|
|
|
|
all:
|
|
|
|
go build .
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) $(EXE) $(EXE).exe
|
|
|
|
|
2018-11-22 01:06:09 +00:00
|
|
|
vis:
|
2018-11-23 02:13:11 +00:00
|
|
|
go-callvis -skipbrowser -png -svg -output hkexpasswd-vis -ignore $(EXTPKGS) -group pkg,type .
|
2018-11-22 01:06:09 +00:00
|
|
|
|
2018-11-25 18:24:10 +00:00
|
|
|
lint:
|
|
|
|
-gometalinter --deadline=60s | sort
|