ducky/subscriptions
2015-07-13
Parent:fe8f092cc149
ducky/subscriptions/subscriptionsd/build-docker.sh
Create a client for working with subscriptions. We mostly copied our code.secondbit.org/auth.hg/client package to create a simple client library for communicating with our Subscriptions API. Right now, the client only has support for creating a subscription. It remains untested, but it builds.
1 docker run -it -e "CGO_ENABLED=0" -e "GOOS=linux" -v $GOPATH:/gopath google/golang go build -v -a -installsuffix cgo -o /gopath/src/code.secondbit.org/ducky/subscriptions.hg/subscriptionsd/docker-subscriptionsd -ldflags "-X code.secondbit.org/ducky/subscriptions%2ehg.Version `hg id -i`" code.secondbit.org/ducky/subscriptions.hg/subscriptionsd