Files
einvoice/Makefile

22 lines
475 B
Makefile

VENV?=.venv
PY=$(VENV)/bin/python
JR=$(VENV)/bin/jr-einvoice
.PHONY: venv install install-pdf demo
venv:
python -m venv $(VENV)
install: venv
$(PY) -m pip install -U pip
$(PY) -m pip install -r requirements.txt
$(PY) -m pip install -e .
install-pdf: install
$(PY) -m pip install -r requirements-pdf.txt
demo:
mkdir -p invoices/Demo_Invoice
cp examples/invoice.sample.yaml invoices/Demo_Invoice/invoice.yaml
$(JR) generate invoices/Demo_Invoice --log-level DEBUG