2015-04-27 11:59:55 +08:00
|
|
|
#!/bin/bash
|
2014-10-22 11:12:50 -04:00
|
|
|
|
2020-01-20 16:55:16 +03:00
|
|
|
# Move to top level directory
|
|
|
|
REAL_PATH=$(realpath $0)
|
2015-01-15 10:09:30 +09:00
|
|
|
cd "$(dirname "$REAL_PATH")/.."
|
2014-10-22 11:12:50 -04:00
|
|
|
|
2017-12-05 10:48:08 +01:00
|
|
|
RES=0
|
|
|
|
|
|
|
|
find docker -name Dockerfile.j2 -print0 |
|
|
|
|
xargs -0 tools/validate-maintainer.sh || RES=1
|
|
|
|
|
2015-11-09 15:20:13 +10:00
|
|
|
find docker -name Dockerfile.j2 -print0 |
|
2017-12-05 10:48:08 +01:00
|
|
|
xargs -0 tools/validate-install-command.sh || RES=1
|
2016-05-17 15:39:25 +05:30
|
|
|
|
|
|
|
find docker -name Dockerfile.j2 -print0 |
|
2017-12-05 10:48:08 +01:00
|
|
|
xargs -0 tools/validate-indentation.sh || RES=1
|
2016-05-17 15:39:25 +05:30
|
|
|
|
2019-01-30 14:28:12 +01:00
|
|
|
tools/validate-binary-build.sh || RES=1
|
|
|
|
|
2017-12-05 10:48:08 +01:00
|
|
|
exit $RES
|