mirror of
https://github.com/traefik/traefik.git
synced 2025-11-15 15:51:19 +01:00
- Add helper script to simplify glide usage.
- Add validation script for unwanted changes to vendoring.
- Relax/tighten up .{git,docker}ignore to cover vendored files properly.
- .validate: Protect from unbound variable in case of nounset setting.
- Install more recent hg version in the build container.
- Remove glide installation steps from Dockerfile.
- Update documentation.
14 lines
286 B
Bash
Executable File
14 lines
286 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source "$(dirname "$BASH_SOURCE")/.validate"
|
|
|
|
if grep -q "$(glide-hash)" glide.lock; then
|
|
echo 'Congratulations! glide.lock is unchanged.'
|
|
else
|
|
{
|
|
echo "Error: glide.lock has been manually changed. Don't do this. Use script/glide.sh up instead."
|
|
echo
|
|
} >&2
|
|
false
|
|
fi
|