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

#
# remove-default-visibility.sh //path/to/package
#
# Remove the `default_visibility` clause (if one exists) from the `package()`
# statement in the BUILD file found at `path/to/package/BUILD`.
#

package="$1:__pkg__"

buildozer "remove default_visibility" "$package"
