Dan Anglin
0cd7dab556
- security: updated Golang version to 1.12.8 for CI builds - added: configuration for build and release automation using GoReleaser (https://goreleaser.com) - (Releases will be semi-automatic for now due to the need of the access token. When/if project specific access token is supported then I'll complete the release stage of the pipeline.) - added: version.go for printing out the versions
16 lines
215 B
Makefile
16 lines
215 B
Makefile
NAME := pominal
|
|
BIN_DIR := ./bin
|
|
BIN_FILE := $(BIN_DIR)/$(NAME)
|
|
|
|
.PHONY: all test_unit build clean
|
|
|
|
all: test_unit build
|
|
|
|
test_unit:
|
|
go test -v -cover ./...
|
|
|
|
build:
|
|
go build -a -v -o $(BIN_FILE)
|
|
|
|
clean:
|
|
go clean
|