-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (31 loc) · 703 Bytes
/
Makefile
File metadata and controls
39 lines (31 loc) · 703 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
34
35
36
37
38
39
# Makefile
.EXPORT_ALL_VARIABLES:
GO111MODULE=on
GOPROXY=direct
GOSUMDB=off
GOPRIVATE=github.com/jeffotoni/quick
update:
@echo "########## Compilando nossa API ... "
@rm -f go.*
go mod init github.com/jeffotoni/quick
go mod tidy
@echo "fim"
test:
@bash ./scripts/test.sh;
cover:
@bash ./scripts/coverage.sh;
@cd http/client && make cover
#@rm -f ./coverage.out;
#@rm -f ./cover.out;
#### install
### go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec:
gosec ./...
#### install
#### go install github.com/gordonklaus/ineffassign@latest
ineffassign:
ineffassign ./...
#### install
#### go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck:
staticcheck ./...