mirror of
https://gitee.com/openharmony/third_party_jinja2
synced 2024-11-30 10:51:22 +00:00
22 lines
601 B
Makefile
22 lines
601 B
Makefile
test:
|
|
py.test tests --tb=short
|
|
|
|
develop:
|
|
pip install --editable .
|
|
|
|
tox-test:
|
|
@tox
|
|
|
|
release:
|
|
python scripts/make-release.py
|
|
|
|
upload-docs:
|
|
$(MAKE) -C docs html dirhtml latex
|
|
$(MAKE) -C docs/_build/latex all-pdf
|
|
cd docs/_build/; mv html jinja-docs; zip -r jinja-docs.zip jinja-docs; mv jinja-docs html
|
|
scp -r docs/_build/dirhtml/* flow.srv.pocoo.org:/srv/websites/jinja.pocoo.org/docs/
|
|
scp -r docs/_build/latex/Jinja2.pdf flow.srv.pocoo.org:/srv/websites/jinja.pocoo.org/docs/jinja-docs.pdf
|
|
scp -r docs/_build/jinja-docs.zip flow.srv.pocoo.org:/srv/websites/jinja.pocoo.org/docs/
|
|
|
|
.PHONY: test
|