Skip to content

Commit b86522c

Browse files
author
Maciek Chociej
authored
Merge pull request tensorflow#7801 from jhseu/buildifier
Switch to an official release of buildifier.
2 parents 393668b + bc9c490 commit b86522c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tensorflow/tools/ci_build/install/install_buildifier.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616

1717
set -e
1818
BUILDIFIER_DIR="buildifier"
19-
rm -rf ${BUILDIFIER_DIR}
20-
git clone https://github.com/bazelbuild/buildifier.git ${BUILDIFIER_DIR}
19+
mkdir ${BUILDIFIER_DIR}
20+
curl -Ls https://github.com/bazelbuild/buildifier/archive/0.4.3.tar.gz | \
21+
tar -C "${BUILDIFIER_DIR}" --strip-components=1 -xz
2122
pushd ${BUILDIFIER_DIR}
2223

2324
bazel build buildifier:buildifier --spawn_strategy=standalone --genrule_strategy=standalone

0 commit comments

Comments
 (0)