Files
thechart/Makefile
William Valentin 0f25e5c4e6 Add the dist name
2025-07-17 15:50:17 -07:00

28 lines
871 B
Makefile

setup-env:
pip3 install pipenv
pipenv --python 3.13
# pipenv shell --python 3.13
pipenv install --dev
pipenv run pre-commit install --install-hooks --overwrite
pipenv run pre-commit autoupdate
pipenv run pre-commit run --all-files
build:
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push .
install:
pyinstaller --name thechart --onefile --windowed --hidden-import='PIL._tkinter_finder' src/main.py
run:
python src/main.py
start:
docker-compose up -d --build
stop:
docker-compose down
test:
docker-compose exec thechart pipenv run pytest -v --tb=short
lint:
docker-compose exec thechart pipenv run pre-commit run --all-files
format:
docker-compose exec thechart pipenv run pre-commit run --all-files --show-diff
shell:
docker-compose exec -it thechart /bin/bash
.PHONY: setup-env build install run start stop test lint format shell