-
Notifications
You must be signed in to change notification settings - Fork 52
/
justfile
executable file
·43 lines (34 loc) · 969 Bytes
/
justfile
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
default: fmt check
lock:
uv pip compile --python-version 3.7.9 --generate-hashes -o ./requirements.txt ./pyproject.toml
uv pip compile --python-version 3.7.9 --generate-hashes --upgrade --extra dev -o ./requirements-dev.txt ./pyproject.toml
npm install --package-lock-only
setup:
uv pip sync --require-hashes ./requirements.txt --target ./bundled/libs
install:
uv pip sync --require-hashes ./requirements-dev.txt
npm ci
test: setup
python -m unittest
e2e-tests: setup
npm run pretest
npm run tests
check:
ruff check ./bundled/tool ./build ./tests
ruff format --check ./bundled/tool ./build ./tests
mypy ./bundled/tool ./build ./tests
npm run fmt-check
npm run lint
npm run tsc
fmt:
ruff check --fix ./bundled/tool ./build ./tests
ruff format ./bundled/tool ./build ./tests
npm run fmt
build-package: setup
npm ci
npm run vsce-package
clean:
rm -rf out
rm -rf node_modules
rm -rf .vscode-test
rm -rf bundled/libs