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