-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (25 loc) · 705 Bytes
/
Makefile
File metadata and controls
36 lines (25 loc) · 705 Bytes
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
include .env
SHELL := /bin/bash
PYTHON := python
help: ## Show this help
@egrep -h '\s##\s' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
sort: ## User isort
isort ./tele-pyro
black: ## User black
black ./tele-pyro
build: ## Build package
poetry build
publish: ## Publish package
poetry publish --username PYPI_USERNAME --password PYPI_PASS
git-push: ## Git push
git add .
git commit -m "update"
git push
push: ## Prepare and push to git
sort
black
git-push
deploy: ## Publish package in PyPi
poetry publish --username PYPI_USERNAME --password PYPI_PASS
check: ## Check
python convertor.py -d ... -p ... --hash ... --id ...