github.com/lafolle/docker@v1.6.0/hack/make/.go-autogen (about) 1 #!/bin/bash 2 3 rm -rf autogen 4 5 mkdir -p autogen/dockerversion 6 cat > autogen/dockerversion/dockerversion.go <<EOF 7 // AUTOGENERATED FILE; see $BASH_SOURCE 8 package dockerversion 9 10 var ( 11 GITCOMMIT string = "$GITCOMMIT" 12 VERSION string = "$VERSION" 13 14 IAMSTATIC string = "${IAMSTATIC:-true}" 15 INITSHA1 string = "$DOCKER_INITSHA1" 16 INITPATH string = "$DOCKER_INITPATH" 17 ) 18 EOF