You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
428 B

BUILDVARS=-X 'main.Version=git-$(shell git rev-list -1 HEAD)' -X 'main.BuildDate=$(shell date)' -X 'main.BuildWith=$(shell go version)'
GLADEVAR=-X 'main.GladeString=$(shell sed 's/\"/\\\"/g' ui/views.glade)'
all:
go run main.go
build:
go build -ldflags "-s -w $(BUILDVARS) $(GLADEVAR)" main.go
dep:
go get github.com/bbrks/go-blurhash github.com/gotk3/gotk3 github.com/subchen/go-xmldom
doc:
godoc -http=localhost:6060