forked from ice9js/ace-jump-sublime
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (30 loc) · 848 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
UV_INSTALL_FLAGS :=
.PHONY: all
all:
.PHONY: install
install:
uv pip install $(UV_INSTALL_FLAGS) -r requirements.txt
.PHONY: install-dev
install-dev:
uv pip install $(UV_INSTALL_FLAGS) -r requirements-dev.txt
.PHONY: pip-compile
pip-compile:
uv pip compile --upgrade requirements.in -o requirements.txt
uv pip compile --upgrade requirements-dev.in -o requirements-dev.txt
.PHONY: update-changelog
update-changelog:
git cliff --output=CHANGELOG.md
.PHONY: ci-check
ci-check:
@echo "========== check: mypy =========="
mypy ace_jump.py
@echo "========== check: ruff (lint) =========="
ruff check --diff .
@echo "========== check: ruff (format) =========="
ruff format --diff .
.PHONY: ci-fix
ci-fix:
@echo "========== fix: ruff (lint) =========="
ruff check --fix .
@echo "========== fix: ruff (format) =========="
ruff format .