Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
all: build
deps:
GOPATH=$(shell pwd) go get github.com/go-sql-driver/mysql
GOPATH=$(shell pwd) go get github.com/koding/logging
GOPATH=$(shell pwd) go get gopkg.in/ini.v1
build: deps
GOPATH=$(shell pwd) go build -v -x binlogstreamer.go
linux: deps
GOPATH=$(shell pwd) GOOS=linux go build -v -x binlogstreamer.go
darwin: deps
GOPATH=$(shell pwd) GOOS=darwin go build -v -x binlogstreamer.go
clean:
rm -rf src/
rm -rf pkg/
rm -rf binlogstreamer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment