From e08b607ab4f45b6dd92232b4470a3b525589589b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 26 Jun 2020 12:15:37 +1000 Subject: [PATCH] add 'make ts-dev' command --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 301bca7f9..fb8863f6f 100644 --- a/Makefile +++ b/Makefile @@ -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