Skip to content

Do not build ctags Docker image if CTAGS_COMMAND is set

Administrator requested to merge mrn/no-unnecessary-ctags-build into main

Created by: mrnugget

@eseliger told me that building the image takes a long time for him every time he boots up the dev env. And @keegancsmith told me that we don't need to build the image if we have universal-ctags installed locally.

Turns out that the symbols service checks for CTAGS_COMMAND and only launches the Docker image if that's not set. So: if the env var is set, we don't need to build the image.

Recommendation:

brew install universal-ctags
echo "export CTAGS_COMMAND=$(which ctags)" >> .env

Merge request reports

Loading