编译macos也不支持
This commit is contained in:
parent
07344e5bf2
commit
c08a167ccc
5
Makefile
5
Makefile
|
|
@ -8,6 +8,11 @@ windows:
|
||||||
go mod tidy
|
go mod tidy
|
||||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ble.exe .
|
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ble.exe .
|
||||||
|
|
||||||
|
.PHONY: macos
|
||||||
|
macos:
|
||||||
|
go mod tidy
|
||||||
|
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build .
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: arm
|
release: arm
|
||||||
ssh pi@192.168.0.21 "sudo systemctl stop ble.service"
|
ssh pi@192.168.0.21 "sudo systemctl stop ble.service"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue