Add test target to Makefile

parent bc7c6077
reinstall:
pip uninstall nginx-redirector -y && python setup.py install && redirector-config --edit nginx_dir /home/kantegory/pvt/redirector-tests
pip uninstall nginx-redirector -y && python setup.py install
test:
MAPS_DIR=/home/kantegory/pvt/nginx-redirector/redirector/tests/nginx_test_case/maps CONFIG_DIR=/home/kantegory/pvt/nginx-redirector/redirector/tests/nginx_test_case/location-includes CONFIG=/home/kantegory/pvt/nginx-redirector/redirector/tests/test.yaml python -m unittest redirector/tests/redirector_test.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment