#!/bin/bash --norc
set -euo pipefail

#
# set-public-visibility.sh //path/to/package:target
#
# Set the `visibility` property of `target` to `["//visibility:public"]` in the
# BUILD file found at `path/to/package/BUILD`.
#

target="$1"

buildozer "set visibility //visibility:public" "$target"
