forked from loafle/openapi-generator-original
* add multiple server support to python client * various fixes * minor fixes, add tests * test oas2 python first * fix tests * fix issues reported by flake8 * update code format * add python petstore to ensure up-to-date * rearrange test * fix E501 * fix tests * add new files * fix script permission * fix index check * update samples
22 lines
393 B
Makefile
22 lines
393 B
Makefile
#!/bin/bash
|
|
|
|
REQUIREMENTS_FILE=dev-requirements.txt
|
|
REQUIREMENTS_OUT=dev-requirements.txt.log
|
|
SETUP_OUT=*.egg-info
|
|
VENV=.venv
|
|
|
|
clean:
|
|
rm -rf $(REQUIREMENTS_OUT)
|
|
rm -rf $(SETUP_OUT)
|
|
rm -rf $(VENV)
|
|
rm -rf .tox
|
|
rm -rf .coverage
|
|
find . -name "*.py[oc]" -delete
|
|
find . -name "__pycache__" -delete
|
|
|
|
test: clean
|
|
bash ./test_python2.sh
|
|
|
|
test-all: clean
|
|
bash ./test_python2_and_3.sh
|