17 lines
451 B
Makefile
17 lines
451 B
Makefile
CURDIR = $(shell pwd)
|
|
#GOPATH= $(dir $(abspath $(dir $(abspath $(dir ${CURDIR})))))
|
|
GOBIN = $(CURDIR)/build/bin
|
|
GO ?= latest
|
|
|
|
istanbul:
|
|
@GOPATH=$(GOPATH) go build -v -o ./build/bin/istanbul ./cmd/istanbul
|
|
@echo "Done building."
|
|
@echo "Run \"$(GOBIN)/istanbul\" to launch istanbul."
|
|
|
|
load-testing:
|
|
@echo "Run load testing"
|
|
@CURDIR=$(CURDIR) go test -v github.com/jpmorganchase/istanbul-tools/tests/load/... --timeout 1h
|
|
|
|
clean:
|
|
rm -rf build/bin/
|