fix(Project): Make it runs more easily
This commit is contained in:
15
golang/Makefile
Normal file
15
golang/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
Reference in New Issue
Block a user