2017-02-05 15:42:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
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
|
|
|
|
{
|
|
|
|
echo "Error: glide.lock has been manually changed. Don't do this. Use glide up instead."
|
|
|
|
echo
|
|
|
|
} >&2
|
|
|
|
false
|
|
|
|
fi
|