storj/scripts/check-dbx-version.sh

11 lines
200 B
Bash
Raw Normal View History

2019-03-22 13:14:17 +00:00
#!/bin/bash
CHANGES=$(grep -r --include="*.dbx.go" regexp.MustCompile .)
if [ -z "$CHANGES" ]
then
echo "dbx version ok"
else
echo "please use latest dbx tool to generate code"
exit 1
2019-03-22 13:14:17 +00:00
fi