2018-02-07 19:02:18 +01:00
|
|
|
GO ?= go
|
|
|
|
|
|
|
|
build:
|
|
|
|
@echo "Building ./ooni"
|
2018-03-22 15:58:10 +01:00
|
|
|
@$(GO) build -i -o dist/ooni cmd/ooni/main.go
|
2018-02-07 19:02:18 +01:00
|
|
|
.PHONY: build
|
2018-02-12 17:29:03 +01:00
|
|
|
|
2018-03-23 12:41:06 +01:00
|
|
|
update-mk:
|
|
|
|
@echo "updating mk"
|
|
|
|
@dep ensure -update github.com/measurement-kit/go-measurement-kit
|
|
|
|
.PHONY: update-mk
|
|
|
|
|
2018-02-12 17:29:03 +01:00
|
|
|
bindata:
|
2018-03-08 20:34:30 +01:00
|
|
|
@$(GO) run vendor/github.com/shuLhan/go-bindata/go-bindata/*.go \
|
2018-02-12 17:29:03 +01:00
|
|
|
-nometadata \
|
|
|
|
-o internal/bindata/bindata.go -pkg bindata \
|
2018-02-12 17:30:27 +01:00
|
|
|
data/...;
|
2018-02-12 17:29:03 +01:00
|
|
|
.PHONY: bindata
|