DelayNoMore/battle_srv/test_cases/Makefile

10 lines
191 B
Makefile
Raw Permalink Normal View History

2022-09-20 15:50:01 +00:00
PROJECTNAME=tests
ROOT_DIR=$(shell pwd)
all: help
run-test: build
GOPATH=$(GOPATH):$(ROOT_DIR)/.. ServerEnv=TEST ./$(PROJECTNAME)
build:
go build -o $(ROOT_DIR)/$(PROJECTNAME) ./tests.go