docfusion/golang/Makefile

16 lines
275 B
Makefile
Raw Permalink Normal View History

2024-07-18 07:55:34 +00:00
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