Golint auto-generated file

Fix auto-generation script to golint auto-generated files.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
Zhang Wei 2015-11-30 16:34:07 +08:00
parent dd25d2c3db
commit a7b73e57bc

View file

@ -5,7 +5,7 @@ rm -rf autogen
cat > dockerversion/version_autogen.go <<DVEOF
// +build autogen
// Package version is auto-generated at build-time
// Package dockerversion is auto-generated at build-time
package dockerversion
// Default build-time variable for library-import.
@ -25,6 +25,7 @@ DVEOF
# Compile the Windows resources into the sources
mkdir -p autogen/winresources
cat > autogen/winresources/resources.go <<WREOF
// Package winresources is auto-generated at build-time
// AUTOGENERATED FILE; see $BASH_SOURCE
package winresources