istanbul-tools/Makefile

17 lines
451 B
Makefile
Raw Normal View History

2017-09-04 03:29:55 -07:00
CURDIR = $(shell pwd)
#GOPATH= $(dir $(abspath $(dir $(abspath $(dir ${CURDIR})))))
2017-09-04 03:29:55 -07:00
GOBIN = $(CURDIR)/build/bin
2017-06-23 02:21:00 -07:00
GO ?= latest
istanbul:
@GOPATH=$(GOPATH) go build -v -o ./build/bin/istanbul ./cmd/istanbul
2017-06-23 02:21:00 -07:00
@echo "Done building."
@echo "Run \"$(GOBIN)/istanbul\" to launch istanbul."
2017-09-04 03:29:55 -07:00
load-testing:
@echo "Run load testing"
@CURDIR=$(CURDIR) go test -v github.com/jpmorganchase/istanbul-tools/tests/load/... --timeout 1h
2017-09-04 03:29:55 -07:00
2017-06-23 02:21:00 -07:00
clean:
2017-09-04 03:29:55 -07:00
rm -rf build/bin/