-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
39 lines (29 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#@bash -c "PYTHONPATH=. poetry run python fstringify/__init__.py ../haizhongwen"
#@bash -c "PYTHONPATH=. poetry run python fstringify/__init__.py ../flask"
#@bash -c "PYTHONPATH=. poetry run python fstringify/__init__.py ../django"
#@bash -c "PYTHONPATH=. poetry run python fstringify/__init__.py --help"
test:
@bash -c "PYTHONPATH=. poetry run python tests/test_fstringify.py"
citest:
@bash -c "PYTHONPATH=. python tests/test_fstringify.py"
install-dev:
pip install -r requirements-dev.txt
deploy:
pip install twine wheel
git tag $$(python setup.py -V)
git push --tags
python setup.py bdist_wheel
python setup.py sdist
echo 'pypi.org Username: '
@read username && twine upload dist/* -u $$username;
clean:
@bash -c "rm -rf build/"
@bash -c "rm -rf dist/"
@bash -c "rm -rf fstringify.egg-info"
redeploy:
python setup.py bdist_wheel
python setup.py sdist
echo 'pypi.org Username: '
@read username && twine upload dist/* -u $$username;
run:
@bash -c "PYTHONPATH=. poetry run python fstringify/__init__.py /home/jack/code/django/docs/_ext/djangodocs.py --verbose"