This commit is contained in:
@@ -9,12 +9,14 @@ PLUGIN_KEYWORD=${PLUGIN_KEYWORD:-gotext.Get}
|
||||
run_xgettext_cmd() {
|
||||
echo "--- start command ---"
|
||||
|
||||
cd "$PLUGIN_IN" || exit 1
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
xgettext-go \
|
||||
-o "$PLUGIN_OUT" \
|
||||
--keyword="$PLUGIN_KEYWORD" \
|
||||
--sort-output \
|
||||
$(find "$PLUGIN_IN" -name "*.go" -not -path '*vendor*')
|
||||
$(find . -name "*.go" -not -path '*vendor*')
|
||||
|
||||
echo "--- end command ---"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user