-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (24 loc) · 741 Bytes
/
Makefile
File metadata and controls
33 lines (24 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
BIN_DIR = bin
run: ## Build project
go run ./monnify.go
build: ## Build project
go build -o ./bin/monnify ./monnify
test: ## Launch tests
go test -v ./...
test-coverage: ## Launch tests
go test -cover ./...
test-coverage-report: ## Launch tests
go test -coverprofile=coverage.out ./...
view-coverage-report: ## Launch tests
go tool cover -html=coverage.out
bump: ## Update packages version
go get -u ./...
about: ## Display info related to the build
@echo "OS: ${OS}"
@echo "Shell: ${SHELL} ${SHELL_VERSION}"
@echo "Protoc version: $(shell protoc --version)"
@echo "Go version: $(shell go version)"
@echo "Go package: ${PACKAGE}"
@echo "Openssl version: $(shell openssl version)"
help: ## Show this help
@${HELP_CMD}