-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (31 loc) · 705 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
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"
up:
@pdm update
deps:
@pdm install --dev --with=all
_check:
./scripts/check.sh
check: deps _build _check
_lint:
pdm run fast lint
lint: deps _build _lint
_test:
./scripts/test.sh
test: deps _test
_style:
SKIP_MYPY=1 pdm run fast lint
style: deps _style
_build:
rm -fR dist/
pdm build
BUILD_PACKAGE=fastdevcli-slim pdm build
build: deps _build