3 Star 15 Fork 6

staugur / Flask-PluginKit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1.41 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
staugur 提交于 2019-08-06 10:52 . chore: update docs and ci
.PHONY: clean
help:
@echo " clean remove unwanted stuff"
@echo " dev make a development package"
@echo " test run the tests"
@echo " publish-test package and upload a release to test.pypi.org"
@echo " publish-release package and upload a release to pypi.org"
@echo " html use the sphinx-build based on reST build HTML file"
@echo " gettext make gettext"
@echo " cn sphinx-intl update pot for zh_CN"
@echo " html-cn generate the zh_CN translation document"
@echo " pipe make html with en and cn, then clean"
clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '.DS_Store' -exec rm -f {} +
find . -name '__pycache__' -exec rm -rf {} +
find . -name '.coverage' -exec rm -rf {} +
rm -rf build dist .eggs *.egg-info +
dev:
pip install .
$(MAKE) clean
test:
python setup.py test
$(MAKE) clean
publish-test:
python setup.py publish --test
publish-release:
python setup.py publish --release
html:
cd docs && sphinx-build -E -T -b html . _build/html
gettext:
cd docs && sphinx-build -b gettext . _build/gettext
cn:
cd docs && sphinx-intl update -p _build/gettext -l zh_CN
html-cn:
cd docs && sphinx-build -E -T -D language=zh_CN -b html . _build/html_cn
pipe:
$(MAKE) html
$(MAKE) gettext
$(MAKE) cn
$(MAKE) html-cn
$(MAKE) clean
Python
1
https://gitee.com/staugur/Flask-PluginKit.git
git@gitee.com:staugur/Flask-PluginKit.git
staugur
Flask-PluginKit
Flask-PluginKit
master

搜索帮助

14c37bed 8189591 565d56ea 8189591