parent
679ddba2d8
commit
7dd5b44ab6
4
Makefile
4
Makefile
|
@ -10,8 +10,8 @@
|
|||
|
||||
# make build-start-mac 编译+启动
|
||||
init:
|
||||
go get gopkg.in/yaml.v2
|
||||
go get gopkg.in/fsnotify/fsnotify.v1
|
||||
go get -u gopkg.in/yaml.v2
|
||||
go get -u gopkg.in/fsnotify/fsnotify.v1
|
||||
|
||||
build-mac: ;@echo "编译-mac版";
|
||||
CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w" -o ./bin/fileboy-darwin-amd64.bin
|
||||
|
|
Loading…
Reference in New Issue