gerrit/tools/bzl/test_empty.sh
Han-Wen Nienhuys c65ad9749c bazel: add test that forbids DO_NOT_DISTRIBUTE in //gerrit-pgm:pgm.
Change-Id: Idf4695294c34bbca157d104cfb6e708bac727473
2016-09-21 19:52:53 +00:00

9 lines
80 B
Bash
Executable File

#!/bin/sh
if test -s $1
then
echo "$1 not empty:"
cat $1
exit 1
fi