Mercurial > code > home > repos > homeauto
changeset 143:30d0ba11603a
makefile rearrange
Ignore-this: 2afd5660be2972a3d619ba1add3384c2
author | drewp@bigasterisk.com |
---|---|
date | Sat, 12 Jul 2014 16:35:28 -0700 |
parents | be1836d0f0c3 |
children | 2e4a9204f23b |
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/