mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
Update Makefile
This commit is contained in:
parent
e8375f115e
commit
31fd69fbcf
1 changed files with 7 additions and 7 deletions
14
Makefile
14
Makefile
|
|
@ -2,18 +2,18 @@ VENV_NAME := venv
|
|||
PYTHON := $(VENV_NAME)/bin/python
|
||||
AIOGRAM_VERSION := $(shell $(PYTHON) -c "import aiogram;print(aiogram.__version__)")
|
||||
|
||||
RM := rm -rf
|
||||
|
||||
mkvenv:
|
||||
virtualenv $(VENV_NAME)
|
||||
$(PYTHON) -m pip install -r requirements.txt
|
||||
|
||||
clean:
|
||||
find . -name '*.pyc' -exec rm --force {} +
|
||||
find . -name '*.pyo' -exec rm --force {} +
|
||||
find . -name '*~' -exec rm --force {} +
|
||||
rm --force --recursive build/
|
||||
rm --force --recursive dist/
|
||||
rm --force --recursive .tox/
|
||||
rm --force --recursive *.egg-info
|
||||
find . -name '*.pyc' -exec $(RM) {} +
|
||||
find . -name '*.pyo' -exec $(RM) {} +
|
||||
find . -name '*~' -exec $(RM) {} +
|
||||
find . -name '__pycache__' -exec $(RM) {} +
|
||||
$(RM) build/ dist/ docs/build/ .tox/ .cache/ *.egg-info
|
||||
|
||||
tag:
|
||||
@echo "Add tag: '$(AIOGRAM_VERSION)'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue