-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile
100 lines (84 loc) · 1.53 KB
/
Makefile
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.PHONY: install
## Install for production
## @category Install
install:
pip install --update pip
poetry install --no-root
.PHONY: install-dev
## Install dev requirements
## @category Install
install-dev:
poetry install --no-root --extras=dev
.PHONY: install-all
## Install all extras
## @category Install
install-all:
poetry install --no-root --all-extras
.PHONY: clean
## Clean pycaches
## @category Build
clean:
./bin/clean-pycache.sh
.PHONY: build
## Build package
## @category Build
build:
poetry build
.PHONY: build-docker
## Build docker image
## @category Build
build-docker:
bin/docker-build
.PHONY: publish
## Publish package to pypi
## @category Deploy
publish:
poetry publish
.PHONY: update
## Update dependencies
## @category Update
update:
./bin/update-deps.sh
.PHONY: update-builder
## Update builder requirements
## @category Update
update-builder:
./bin/update-builder-requirement.sh
## version
## @category Update
V :=
.PHONY: version
## Show or set project version
## @category Update
version:
bin/version.sh $(V)
.PHONY: kill-eslint_d
## Kill eslint daemon
## @category Lint
kill-eslint_d:
bin/kill-eslint_d.sh
.PHONY: fix
## Fix front and back end lint errors
## @category Lint
fix:
./bin/fix-lint-backend.sh
.PHONY: lint
## Lint front and back end
## @category Lint
lint:
./bin/lint-backend.sh
## test
## @category Test
T :=
.PHONY: test
## Run Tests
## @category Test
test:
./bin/test.sh $(T)
.PHONY: news
## Show recent NEWS
## @category Deploy
news:
head -40 NEWS.md
.PHONY: all
include bin/makefile-help.mk