GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — baize/hack/update-bazel.sh at master · dashjay/baize Expand file tree/ Copy pathupdate-bazel.shMore file actions executable file ·35 lines (29 loc) · 963 Bytes / Copy pathupdate-bazel.shFile metadata and controlsexecutable file ·35 lines (29 loc) · 963 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 #!/usr/bin/env bash # This script is a modified version of Kubernetes k8s.io/repo-infra # https://github.com/kubernetes/repo-infra/blob/v0.0.1-alpha.1/hack/update-bazel.sh set -o errexit set -o nounset set -o pipefail if [[ -n "${BUILD_WORKSPACE_DIRECTORY:-}" ]]; then # Running inside bazel echo "Updating bazel rules..." >&2 elif ! command -v bazel &>/dev/null; then echo "Install bazel by using ./hack/install-bazel.sh" >&2 exit 1 else ( set -o xtrace bazel run //hack:update-bazel ) exit 0 fi buildifier=$(realpath "$1") gazelle=$(realpath "$2") kazel=$(realpath "$3") cd "$BUILD_WORKSPACE_DIRECTORY" set -o xtrace "$gazelle" fix --external=external -go_naming_convention=go_default_library "$kazel" --cfg-path=./.kazelcfg.json find . -name BUILD -o -name BUILD.bazel -o -name '*.bzl' -type f \ \( -not -path '*/vendor/*' -prune \) \ \( -not -path '*/third_party/*' -prune \) \ -exec "$buildifier" --mode=fix --lint=fix '{}' + |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |