init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
This commit is contained in:
32
Makefile
Normal file
32
Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
.PHONY: build
|
||||
|
||||
run: reset
|
||||
$(PWD)/out/Debug/Telegram
|
||||
|
||||
prepare:
|
||||
git submodule update --init --recursive
|
||||
$(PWD)/Telegram/build/prepare/linux.sh
|
||||
|
||||
reset:
|
||||
rm -rf ~/.local/share/TelegramDesktop
|
||||
rm -rf $(PWD)/out/Debug/DebugLogs
|
||||
rm -rf $(PWD)/out/Debug/tdata
|
||||
|
||||
build: reset prepare
|
||||
docker run --rm -it \
|
||||
-u 1000 \
|
||||
-v "$(PWD):/usr/src/tdesktop" \
|
||||
tdesktop:centos_env \
|
||||
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
|
||||
-D TDESKTOP_API_ID=1234567 \
|
||||
-D TDESKTOP_API_HASH=0123456789abcdef0123456789abcdef
|
||||
|
||||
debug: reset prepare
|
||||
docker run --rm -it \
|
||||
-u 1000 \
|
||||
-v "$(PWD):/usr/src/tdesktop" \
|
||||
-e CONFIG=Debug \
|
||||
tdesktop:centos_env \
|
||||
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
|
||||
-D TDESKTOP_API_ID=1234567 \
|
||||
-D TDESKTOP_API_HASH=0123456789abcdef0123456789abcde
|
||||
Reference in New Issue
Block a user