2019-05-24 17:51:27 +01:00
|
|
|
#!/usr/bin/env bash
|
2019-03-22 13:14:17 +00:00
|
|
|
|
|
|
|
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"
|
2019-05-01 16:44:12 +01:00
|
|
|
exit 1
|
2019-05-24 17:51:27 +01:00
|
|
|
fi
|