Mercurial > code > home > repos > homeauto
changeset 948:faefd71c45ae
makefile rearrange
Ignore-this: 2afd5660be2972a3d619ba1add3384c2
darcs-hash:20140712233528-312f9-b0cc27d1d1568ca17546dc4d7327ff274b11e6e8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 12 Jul 2014 16:35:28 -0700 |
parents | e0f13a6b00ee |
children | fa8710124ff0 |
files | service/pilight/makefile |
diffstat | 1 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/service/pilight/makefile Sat Jul 12 12:17:58 2014 -0700 +++ b/service/pilight/makefile Sat Jul 12 16:35:28 2014 -0700 @@ -1,11 +1,19 @@ GOPATH=$(shell pwd) export GOPATH -build: +build: deps go build pilight.go +deps: src/github.com/tarm/goserial src/github.com/go-martini/martini + +src/github.com/tarm/goserial: + go get github.com/tarm/goserial +src/github.com/go-martini/martini: + go get github.com/go-martini/martini + setup: - go get github.com/tarm/goserial - go get github.com/go-martini/martini ln -s . public - # also need static/polymer/ to be polymer 0.2.3 + @echo also need static/polymer/ to be polymer 0.2.3 +build-to-pi: deps + GOBIN=bin-pi GOARCH=arm go install pilight.go + rsync -a bin-pi/pilight pi@192.168.1.157:projects/homeauto/service/pilight/bin/