Merge pull request #395 from jfrazelle/add-validate-script
Add a validate script
This commit is contained in:
commit
8d0f911e1d
5
Makefile
5
Makefile
|
@ -22,5 +22,10 @@ direct-build:
|
|||
|
||||
direct-install:
|
||||
go install -v $(GO_PACKAGES)
|
||||
|
||||
local:
|
||||
go test -v
|
||||
|
||||
validate:
|
||||
hack/validate.sh
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#!/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
|
||||
/go/src/github.com/docker/docker/hack/make/validate-dco
|
||||
/go/src/github.com/docker/docker/hack/make/validate-gofmt
|
||||
}
|
||||
|
||||
# run validations
|
||||
validate
|
Loading…
Reference in New Issue