-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (33 loc) · 782 Bytes
/
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
help:
@echo "FastDevCli development makefile"
@echo
@echo "Usage: make <target>"
@echo "Targets:"
@echo " up Updates dev/test dependencies"
@echo " deps Ensure dev/test dependencies are installed"
@echo " check Checks that build is sane"
@echo " test Runs all tests"
@echo " style Auto-formats the code"
@echo " lint Auto-formats the code and check type hints"
up:
@poetry run fast upgrade
plugin:
@pipx inject poetry poetry-plugin-version
deps:
@poetry install
_check:
./scripts/check.py
check: deps _build _check
_lint:
@poetry run fast lint
lint: deps _build _lint
_test:
./scripts/test.py
test: deps _test
_style:
./scripts/format.py
style: deps _style
_build:
rm -fR dist/
poetry build
build: deps _build