add 'make ts-dev' command

This commit is contained in:
Damien Elmes 2020-06-26 12:15:37 +10:00
parent 0a0a61b7f8
commit e08b607ab4

View File

@ -194,3 +194,11 @@ push-i18n-ftl: pull-i18n
.PHONY: push-i18n-po
push-i18n-po: pull-i18n
(cd qt/po && scripts/upload-latest-template)
.PHONY: ts-dev
ts-dev: develop
@set -eu -o pipefail ${SHELLFLAGS}; \
. "${ACTIVATE_SCRIPT}"; \
tmux new -d -s anki-ts "ANKIDEV=1 ANKI_API_PORT=9001 python qt/runanki $(RUNFLAGS)"
tmux split-window "(cd ts && make dev)"
tmux attach