Skip to content

Commit

Permalink
Set runfiles environment variables for Gazelle
Browse files Browse the repository at this point in the history
This ensures that Gazelle itself or a language linked into it can discover runfiles.
  • Loading branch information
fmeum authored Sep 13, 2023
1 parent 8522970 commit c4622d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/gazelle.bash.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@ if [[ "${is_fix_or_update:-}" == "true" ]] && [[ -n $REPO_CONFIG_PATH ]]; then
ARGS=("${ARGS[0]}" "-repo_config" "$(rlocation "$REPO_CONFIG_PATH")" "${ARGS[@]:1}")
fi

runfiles_export_envvars
"$gazelle_path" "${ARGS[@]}"

0 comments on commit c4622d9

Please sign in to comment.