testbed2/Makefile

18 lines
226 B
Makefile
Raw Permalink Normal View History

.PHONY: build run test clean
APP_NAME := testbed2
BUILD_DIR := build
build:
go build -o $(BUILD_DIR)/$(APP_NAME) .
run: build
./$(BUILD_DIR)/$(APP_NAME)
test:
go test ./...
clean:
rm -rf $(BUILD_DIR)
go clean -cache