mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Update Makefile
This commit is contained in:
parent
b3deade428
commit
2ff50423b8
8
Makefile
8
Makefile
@ -20,14 +20,22 @@ clean-build:
|
|||||||
clean-api:
|
clean-api:
|
||||||
$(RM) pyrogram/errors/exceptions pyrogram/raw/all.py pyrogram/raw/base pyrogram/raw/functions pyrogram/raw/types
|
$(RM) pyrogram/errors/exceptions pyrogram/raw/all.py pyrogram/raw/base pyrogram/raw/functions pyrogram/raw/types
|
||||||
|
|
||||||
|
clean-docs:
|
||||||
|
$(RM) docs/build docs/source/api/bound-methods docs/source/api/methods docs/source/api/types docs/source/telegram
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
make clean-build
|
make clean-build
|
||||||
make clean-api
|
make clean-api
|
||||||
|
make clean-docs
|
||||||
|
|
||||||
api:
|
api:
|
||||||
cd compiler/api && ../../$(PYTHON) compiler.py
|
cd compiler/api && ../../$(PYTHON) compiler.py
|
||||||
cd compiler/errors && ../../$(PYTHON) compiler.py
|
cd compiler/errors && ../../$(PYTHON) compiler.py
|
||||||
|
|
||||||
|
docs:
|
||||||
|
cd compiler/docs && ../../$(PYTHON) compiler.py
|
||||||
|
$(VENV)/bin/sphinx-build -b dirhtml "docs/source" "docs/build/html" -j auto
|
||||||
|
|
||||||
build:
|
build:
|
||||||
make clean
|
make clean
|
||||||
$(PYTHON) setup.py sdist
|
$(PYTHON) setup.py sdist
|
||||||
|
Loading…
Reference in New Issue
Block a user