-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 888 Bytes
/
Makefile
File metadata and controls
31 lines (26 loc) · 888 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
# Help is in util.mk
.DEFAULT_GOAL:=help
# Override settings.
PRETTIER_TARGET := "**/*.{md,yaml,yml,toml,js,jsx,ts,html,css}"
GO_TEST_TAGS := zerrorstrace,zdebugdump,zslogbuildlog
include _scripts/makefiles/go-build.mk
include _scripts/makefiles/go-licenses.mk
include _scripts/makefiles/go-test.mk
include _scripts/makefiles/go.mk
include _scripts/makefiles/goda.mk
include _scripts/makefiles/golangci-lint.mk
include _scripts/makefiles/govulncheck.mk
include _scripts/makefiles/markdownlint.mk
include _scripts/makefiles/prettier.mk
include _scripts/makefiles/scanoss.mk
include _scripts/makefiles/util.mk
LOCAL_CHECKS += go-licenses-run
LOCAL_CHECKS += golangci-lint-run
LOCAL_CHECKS += markdownlint-run
LOCAL_CHECKS += prettier-run
.PHONY: local-check
local-check: $(LOCAL_CHECKS)
.PHONY: local-format
local-format:
$(MAKE) go-fmt ARGS="-w"
$(MAKE) prettier-run ARGS="--write"