mirror of
https://github.com/vale981/melpazoid
synced 2025-03-05 09:21:39 -05:00
24 lines
473 B
Makefile
24 lines
473 B
Makefile
IMAGE_NAME = melpazoid
|
|
|
|
.PHONY: run
|
|
run:
|
|
python melpazoid/melpazoid.py
|
|
|
|
.PHONY: test
|
|
test: image
|
|
@docker run --rm --network none ${IMAGE_NAME}
|
|
|
|
.PHONY: term
|
|
term: image
|
|
docker run -it --rm --entrypoint=/bin/bash ${IMAGE_NAME}
|
|
|
|
.PHONY: image
|
|
image:
|
|
@docker build --build-arg PACKAGE_MAIN --quiet \
|
|
--tag ${IMAGE_NAME} -f docker/Dockerfile .
|
|
|
|
.PHONY: test-melpazoid
|
|
test-melpazoid:
|
|
pytest --doctest-modules
|
|
mypy --ignore-missing-imports melpazoid
|
|
black -S --check .
|