osrsscrape/Makefile
2024-01-24 20:55:19 -08:00

21 lines
398 B
Makefile

DOCKERIMAGE := dockermirror:5000/dpedu/rsscrape
DOCKEROPTS :=
BINARY := dist/osrsscrape-0.0.0-py3-none-any.whl
.PHONY: $(BINARY)
$(BINARY):
python3 setup.py bdist_wheel
.PHONY: image
image:
docker build -t $(DOCKERIMAGE) $(DOCKEROPTS) .
.PHONY: push
push: image
docker push $(DOCKERIMAGE)
.PHONY: testenv
testenv:
virtualenv -p python3 testenv
testenv/bin/pip3 install -r requirements.txt