mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
623 B
19 lines
623 B
.PHONY: clean-pyc test |
|
|
|
all: clean-pyc test |
|
|
|
test: |
|
python tests/flask_tests.py |
|
|
|
clean-pyc: |
|
find . -name '*.pyc' -exec rm -f {} + |
|
find . -name '*.pyo' -exec rm -f {} + |
|
find . -name '*~' -exec rm -f {} + |
|
|
|
upload-docs: |
|
$(MAKE) -C docs html dirhtml latex |
|
$(MAKE) -C docs/_build/latex all-pdf |
|
cd docs/_build/; mv html flask-docs; zip -r flask-docs.zip flask-docs; mv flask-docs html |
|
scp -r docs/_build/dirhtml/* pocoo.org:/var/www/flask.pocoo.org/docs/ |
|
scp -r docs/_build/latex/Flask.pdf pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.pdf |
|
scp -r docs/_build/flask-docs.zip pocoo.org:/var/www/flask.pocoo.org/docs/
|
|
|