2017-04-21 09:23:45 +00:00
|
|
|
#!/usr/bin/env bash
|
2017-02-05 15:42:04 +00:00
|
|
|
|
|
|
|
source "$(dirname "$BASH_SOURCE")/.validate"
|
|
|
|
|
2017-03-01 23:30:16 +00:00
|
|
|
if grep -q "$(glide-hash)" glide.lock; then
|
2017-02-05 15:42:04 +00:00
|
|
|
echo 'Congratulations! glide.lock is unchanged.'
|
|
|
|
else
|
|
|
|
{
|
2017-02-01 23:49:32 +00:00
|
|
|
echo "Error: glide.lock has been manually changed. Don't do this. Use script/glide.sh up instead."
|
2017-02-05 15:42:04 +00:00
|
|
|
echo
|
|
|
|
} >&2
|
|
|
|
false
|
|
|
|
fi
|