summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2022-01-27 18:30:04 +0200
committerAarni Koskela <akx@iki.fi>2022-01-27 18:38:04 +0200
commit7b590638ad9b56df40c1e9262ad8b0c2be80027e (patch)
tree30a92ee8423d0da96ade0896a7429ad77e5a6ff4 /Makefile
parent8bbaa65826843391f97605bbde5c0f0a6105fd1e (diff)
downloadbabel-7b590638ad9b56df40c1e9262ad8b0c2be80027e.tar.gz
Makefile: remove quietness from all commands + PYTHONWARNINGS overrides from tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 59c8555..be68762 100644
--- a/Makefile
+++ b/Makefile
@@ -1,38 +1,38 @@
test: import-cldr
- @PYTHONWARNINGS=default python ${PYTHON_TEST_FLAGS} -m pytest
+ python ${PYTHON_TEST_FLAGS} -m pytest
test-cov: import-cldr
- @PYTHONWARNINGS=default python ${PYTHON_TEST_FLAGS} -m pytest --cov=babel
+ python ${PYTHON_TEST_FLAGS} -m pytest --cov=babel
test-env:
- @virtualenv test-env
- @test-env/bin/pip install pytest
- @test-env/bin/pip install --editable .
+ virtualenv test-env
+ test-env/bin/pip install pytest
+ test-env/bin/pip install --editable .
clean-test-env:
- @rm -rf test-env
+ rm -rf test-env
standalone-test: import-cldr test-env
- @test-env/bin/pytest tests
+ test-env/bin/pytest tests ${PYTEST_FLAGS}
clean: clean-cldr clean-pyc clean-test-env
import-cldr:
- @python scripts/download_import_cldr.py
+ python scripts/download_import_cldr.py
clean-cldr:
- @rm -f babel/locale-data/*.dat
- @rm -f babel/global.dat
+ rm -f babel/locale-data/*.dat
+ rm -f babel/global.dat
clean-pyc:
- @find . -name '*.pyc' -exec rm {} \;
- @find . -name '__pycache__' -type d | xargs rm -rf
+ find . -name '*.pyc' -exec rm {} \;
+ find . -name '__pycache__' -type d | xargs rm -rf
develop:
- @pip install --editable .
+ pip install --editable .
tox-test: import-cldr
- @tox
+ tox
upload-docs:
$(MAKE) -C docs html dirhtml latex