-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 733 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 733 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
all: help
help:
@echo "Cartesian API development"
@echo ""
@echo "run Run the application on the development environment"
@echo "build Build the application on the development environment"
@echo "tests Execute the tests in the development environment"
@echo "coverage Generate test coverage in the development environment"
@echo "deps Update and vendorize the application dependencies"
@echo ""
run:
@go run main.go
build:
@go build .
tests:
@go test ./...
coverage:
@go test ./... -coverprofile=/tmp/coverage.out -coverpkg=./...
@go tool cover -html=/tmp/coverage.out
deps:
@go mod tidy
@go mod vendor