docfusion/golang/Makefile

16 lines
275 B
Makefile

all: run
run: fusion.doc
fusion.doc: key.txt
UNIDOC_LICENSE_API_KEY=$(shell cat key.txt) go run .
build: fusion.exe
fusion.exe: key.txt
env UNIDOC_LICENSE_API_KEY=$(shell cat key.txt) GOOS=windows GOARCH=amd64 go build .
clean:
rm -f ./fusion.doc
rm -f ./fusion.exe