gerrit/lib/nongoogle_test.sh
David Ostrovsky eba485b530 Bazel: Expedite the LC process
Move dependencies not used by Google to tools/nongoogle.bzl. Upgrading
the versions in tools/nongoogle.bzl file does not require LC-Vote.

Change-Id: Ib0dd147bd2611ac9ba282cfcaed5c412ab38e464
2019-11-13 16:40:58 -08:00

46 lines
734 B
Bash
Executable File

#!/bin/sh
# This test ensures that new dependencies in nongoogle.bzl go through LC review.
set -eux
bzl=$(pwd)/tools/nongoogle.bzl
TMP=$(mktemp -d || mktemp -d -t /tmp/tmp.XXXXXX)
grep 'name = "[^"]*"' ${bzl} | sed 's|^[^"]*"||g;s|".*$||g' | sort > $TMP/names
cat << EOF > $TMP/want
cglib-3_2
dropwizard-core
duct-tape
eddsa
elasticsearch-rest-client
httpasyncclient
httpcore-nio
j2objc
jackson-core
javassist
jna
jruby
mina-core
nekohtml
objenesis
openid-consumer
powermock-api-easymock
powermock-api-support
powermock-core
powermock-module-junit4
powermock-module-junit4-common
powermock-reflect
sshd
sshd-mina
testcontainers
testcontainers-elasticsearch
tukaani-xz
visible-assertions
xerces
EOF
diff -u $TMP/names $TMP/want