forked from alexander-akhmetov/python-telegram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (21 loc) · 767 Bytes
/
Makefile
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
docker-build:
docker build -f Dockerfile . -t akhmetov/python-telegram
docker-send-message:
docker run -i -t \
-v /tmp/docker-python-telegram/:/tmp/ \
akhmetov/python-telegram \
python3 /app/examples/send_message.py $(API_ID) $(API_HASH) $(PHONE) $(CHAT_ID) $(TEXT)
docker-echo-bot:
docker run -i -t \
-v /tmp/docker-python-telegram/:/tmp/ \
akhmetov/python-telegram \
python3 /app/examples/echo_bot.py $(API_ID) $(API_HASH) $(PHONE)
docker-get-instant-view:
docker run -i -t \
-v /tmp/docker-python-telegram/:/tmp/ \
akhmetov/python-telegram \
python3 /app/examples/echo_bot.py $(API_ID) $(API_HASH) $(PHONE)
release-pypi:
test -n "$(VERSION)"
python setup.py sdist
twine upload dist/python-telegram-$(VERSION).tar.gz