-
Notifications
You must be signed in to change notification settings - Fork 723
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 733 Bytes
/
Makefile
File metadata and controls
37 lines (28 loc) · 733 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
30
31
32
33
34
35
36
37
# Makefile to simplify some common development tasks.
# Run 'make help' for a list of commands.
PYTHON=`which python`
default: help
help:
@echo "Available commands:"
@sed -n '/^[a-zA-Z0-9_.]*:/s/:.*//p' <Makefile | sort
test:
pixi run test-all
lint:
pixi run lint
coverage:
pixi run -e py311 coverage
pixi run -e py311 coverage-combine
pixi run -e py311 coverage-report
coverage-xml:
pixi run -e py311 coverage
pixi run -e py311 coverage-combine
pixi run -e py311 coverage-xml
clean:
$(PYTHON) setup.py clean
find . -name '*.pyc' -delete
find . -name '*~' -delete
release:
@rm -rf dist/
python -m build
hatch publish
@echo "Reminder: Add release on github https://github.com/andialbrecht/sqlparse/releases"