storj/scripts/check-dbx-version.sh

10 lines
189 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"
fi