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:
parent
dd25d2c3db
commit
a7b73e57bc
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue