不支持windows编译及说明更新
This commit is contained in:
parent
ceff1f0abb
commit
07344e5bf2
5
Makefile
5
Makefile
|
|
@ -3,6 +3,11 @@ arm:
|
|||
go mod tidy
|
||||
GOOS=linux GOARCH=arm GOARM=7 go build
|
||||
|
||||
.PHONY: windows
|
||||
windows:
|
||||
go mod tidy
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ble.exe .
|
||||
|
||||
.PHONY: release
|
||||
release: arm
|
||||
ssh pi@192.168.0.21 "sudo systemctl stop ble.service"
|
||||
|
|
|
|||
Loading…
Reference in New Issue