-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
44 lines (31 loc) · 1018 Bytes
/
makefile
File metadata and controls
44 lines (31 loc) · 1018 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
.PHONY: install install-all tag test app
install:## install only necessary dependencies
@echo "\nInstalling Dependencies .."
@uv lock --check
@uv sync --frozen --no-dev
@echo "Done."
install-all:## install all dependencies including dev
@echo "Installing all dependencies..."
@uv sync --frozen --all-groups
@echo "\nCleaning pre-commit cache.."
@uv run pre-commit gc
@echo "\nInstalling pre-commit hooks.."
@uv run pre-commit install --install-hooks
@echo "Done."
tag:## bump version and generate changelog
@echo "\nChecking commits .."
@uvx --from commitizen cz bump
@echo "\nGenerating changelog .."
@uvx --from commitizen cz bump -ch
test:## run tests and validate codecov configuration
@echo "Running tests..."
@pytest
@echo "Validating codecov configuration..."
@curl --data-binary @.codecov.yml https://codecov.io/validate
@echo "Tests completed."
app:## run app
@echo "Running app..."
@uv run streamlit run app.py
help:
@bash ./help.sh $(MAKEFILE_LIST)
.DEFAULT_GOAL := help