# Go parameters GOCMD=GO111MODULE=on go GOBUILD=$(GOCMD) build GOTEST=$(GOCMD) test all: build build: rm -rf target/ mkdir target/ cp etc/config.toml target/config.toml $(GOBUILD) -o target/texas cmd/main.go clean: rm -rf target/ run: nohup target/texas -conf=target/config.toml -region=sh -zone=sh001 -deploy.env=dev -weight=10 2>&1 > target/texas.log & stop: pkill -f target/texas