-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (35 loc) · 778 Bytes
/
Makefile
File metadata and controls
51 lines (35 loc) · 778 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
SHELL=/bin/bash -euo pipefail
install: install-node install-python install-hooks
install-python:
poetry install
install-node:
npm install
install-hooks:
cp scripts/pre-commit .git/hooks/pre-commit
test:
@echo disable for spec only
black:
poetry run black .
black-check:
poetry run black . --check
ruff: black
poetry run ruff check --fix --show-fixes .
ruff-check:
poetry run ruff check .
ruff-ci:
poetry run ruff check --output-format=github .
lint: ruff
npm run lint
publish:
npm run publish 2> /dev/null
clean:
rm -rf build
rm -rf dist
check-licenses:
npm run check-licenses
scripts/check_python_licenses.sh
format:
poetry run black .
release: clean publish
mkdir -p dist
cp -r build/. dist