8886849315
Change-Id: Ie5fbd18de68fca13f954ef4d05ea7acc7d9cfea9
18 lines
334 B
Bash
Executable File
18 lines
334 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
|
|
tukaani-xz
|
|
EOF
|
|
|
|
diff -u $TMP/names $TMP/want
|