Last active
June 15, 2016 12:11
-
-
Save supcik/9e0757821cbbe683833f25fb70a9b29f to your computer and use it in GitHub Desktop.
Update telecom tower
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cleanup source files | |
cd $HOME | |
rm -Rf $GOPATH/src/github.com/supcik-go/ws2811 | |
rm -Rf $GOPATH/src/gopkg.in/supcik-go/ws2811.v2 | |
rm -Rf $GOPATH/src/github.com/heia-fr/telecom-tower | |
rm -Rf $GOPATH/src/github.com/heia-fr/telecom-tower-server | |
# Cleanup object files | |
rm -Rf $GOPATH/pkg/*/gopkg.in/supcik-go/ws2811.v2.a | |
rm -Rf $GOPATH/pkg/*/github.com/supcik-go/ws2811.a | |
# Download new sources | |
go get -d -tags physical github.com/heia-fr/telecom-tower-server | |
# Test ws2811 | |
cd $GOPATH/src/github.com/supcik-go/ws2811 | |
go build -tags physical | |
sudo go test -v -tags physical | |
# Test tower | |
cd $GOPATH/src/github.com/heia-fr/telecom-tower-server | |
go build -tags physical | |
go install -tags physical | |
sudo $GOPATH/bin/telecom-tower-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment