fix: first temperature post request
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
VERSION ?= "$(shell git rev-parse --short HEAD)-git"
|
||||
|
||||
go-build-arm7:
|
||||
GOOS=linux GOARCH=arm GOARM=7 go build -o flucky -ldflags "-X main.version=${VERSION}"
|
||||
|
||||
go-build-amd:
|
||||
go build -o flucky -ldflags "-X main.version=${VERSION}"
|
||||
|
||||
pi-copy: go-build-arm7
|
||||
scp flucky hades:/usr/local/bin
|
||||
ssh hades 'chmod +x /usr/local/bin/flucky'
|
Reference in New Issue
Block a user