blob: 13e81f749d7b3359fe8a4641fb87bdd4040636e2 [file] [log] [blame]
#!/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
commons-io
docker-java-api
docker-java-transport
dropwizard-core
duct-tape
eddsa
elasticsearch-rest-client
flogger
flogger-log4j-backend
flogger-system-backend
guice-assistedinject
guice-library-no-aop
guice-servlet
httpasyncclient
httpcore-nio
impl-log4j
j2objc
jackson-annotations
jackson-core
jcl-over-slf4j
jna
jruby
log-api
log-ext
log4j
mina-core
nekohtml
objenesis
openid-consumer
sshd-mina
sshd-osgi
testcontainers
testcontainers-elasticsearch
tukaani-xz
visible-assertions
xerces
EOF
diff -u $TMP/names $TMP/want