-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (24 loc) · 888 Bytes
/
Makefile
File metadata and controls
29 lines (24 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
.DEFAULT_GOAL := all
.PHONY: all
all: tools.verify gen image.build compose.up
@sleep 50s
@$(MAKE) migrate.up
# ==============================================================
# Build option
ROOT_PACKAGE=gitee.com/qciip-icp/v-trace
VERSION_PACAKGE=github.com/yangchnet/component-base/pkg/version
# ==============================================================
# Include
include scripts/make-rules/common.mk
include scripts/make-rules/tools.mk
include scripts/make-rules/golang.mk
include scripts/make-rules/migrate.mk
include scripts/make-rules/gen.mk
include scripts/make-rules/run.mk
include scripts/make-rules/image.mk
HELP_LIST = tools gen run image golang migrate
## help: Show this help info.
.PHONY: help
help: $(addsuffix .mk,$(addprefix scripts/make-rules/,$(HELP_LIST)))
@echo -e "\nUsage: make ...\n\nTargets:"
@sed -n 's/^##//p' $^ | column -t -s ':' | sed -e 's/^/ /'