2015-02-24 04:49:38 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# This script runs all validations
|
|
|
|
|
|
|
|
validate() {
|
|
|
|
sed -i 's!docker/docker!docker/libcontainer!' /go/src/github.com/docker/docker/hack/make/.validate
|
2015-02-27 01:36:29 +08:00
|
|
|
bash /go/src/github.com/docker/docker/hack/make/validate-dco
|
|
|
|
bash /go/src/github.com/docker/docker/hack/make/validate-gofmt
|
2015-02-24 04:49:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
# run validations
|
|
|
|
validate
|