forked from bybatkhuu/rest-fastapi-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (36 loc) · 1.08 KB
/
Copy pathMakefile
File metadata and controls
48 lines (36 loc) · 1.08 KB
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
40
41
42
43
44
45
46
47
48
.PHONY: help validate start stop compose clean get-version test bump-version build docs changelog
help:
@echo "make help -- show this help"
@echo "make validate -- validate docker compose file"
@echo "make start -- start all services"
@echo "make stop -- stop all services"
@echo "make compose -- run docker-compose commands"
@echo "make clean -- clean all"
@echo "make get-version -- get current version"
@echo "make test -- run tests"
@echo "make bump-version -- bump version"
@echo "make build -- build docker image"
@echo "make docs -- build documentation"
@echo "make changelog -- update changelog"
validate:
./compose.sh validate
start:
./compose.sh start -l
stop:
./compose.sh down
compose:
./compose.sh $(MAKEFLAGS)
clean:
./scripts/clean.sh -a
get-version:
./scripts/get-version.sh
test:
./scripts/test.sh $(MAKEFLAGS)
bump-version:
./scripts/bump-version.sh $(MAKEFLAGS)
build:
./scripts/build.sh $(MAKEFLAGS)
docs:
./scripts/docs.sh $(MAKEFLAGS)
changelog:
./scripts/changelog.sh $(MAKEFLAGS)