From 1a66b8a374285b7deaebe97e56125113a6ae9da5 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 1 Dec 2022 15:00:29 +0100 Subject: [PATCH] Add script to setup translation fetching (#14481) * Add script to setup translation fetching * Update bootstrap --- script/bootstrap | 2 +- script/setup_translations | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 script/setup_translations diff --git a/script/bootstrap b/script/bootstrap index 57279d813b..581fd6c371 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -7,4 +7,4 @@ set -e cd "$(dirname "$0")/.." # Install node modules -yarn install +yarn install \ No newline at end of file diff --git a/script/setup_translations b/script/setup_translations new file mode 100755 index 0000000000..6a87c6106c --- /dev/null +++ b/script/setup_translations @@ -0,0 +1,9 @@ +#!/bin/sh +# Setup translation fetching during development + +# Stop on errors +set -e + +cd "$(dirname "$0")/.." + +./node_modules/.bin/gulp setup-and-fetch-nightly-translations \ No newline at end of file