-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
22 lines (19 loc) · 884 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: local_git_prep
local_git_prep:
sed -i 's/^test_/# test_/' /home/g/projects/superhelp/tests/*.py ## deactivate direct running of tests
sed -i 's/LOG_LEVEL = logging.DEBUG/LOG_LEVEL = logging.INFO/' /home/g/projects/superhelp/superhelp/conf.py
sed -i 's/RECORD_AST = t/RECORD_AST = f/' /home/g/projects/superhelp/superhelp/conf.py
sed -i 's/SHOW_OUTPUT = f/SHOW_OUTPUT = t/' /home/g/projects/superhelp/superhelp/conf.py
sed -i 's/OUTPUT = c/OUTPUT = h/' /home/g/projects/superhelp/superhelp/conf.py
sed -i 's/OUTPUT = m/OUTPUT = h/' /home/g/projects/superhelp/superhelp/conf.py
git status
grep "__version__ = '" /home/g/projects/superhelp/setup.py
grep "version number: " /home/g/projects/superhelp/README.md
@echo ""
@echo "It's up to you to update and commit"
.PHONY: push_github
push_github:
git push
.PHONY: upload_pypi
upload_pypi:
python3 pypi_push.py