You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts
Daniel Martí 6a39ad2d81 make "garble version" include VCS information
When someone builds garble from a git clone,
the resulting binary used to not contain any information:

	$ garble version
	(devel)

Since Go 1.18, VCS information is stamped by default into binaries.
We now print it, alongside any other available build settings:

	$ garble version
	mvdan.cc/garble (devel)

	Build settings:
	       -compiler gc
	     CGO_ENABLED 1
	          GOARCH amd64
	            GOOS linux
	         GOAMD64 v3
	             vcs git
	    vcs.revision 91ea246349
	        vcs.time 2022-03-18T13:45:11Z
	    vcs.modified true

Note that it's still possible for a garble build to contain no useful
version information, such as when built via "go build -buildvcs=false".
However, if a user opts into omitting the information, it's on them to
figure out what version of garble they actually built.

While here, bump test-gotip.

Fixes #491.
4 years ago
..
asm.txt all: drop support for Go 1.17 4 years ago
basic.txt all: drop support for Go 1.17 4 years ago
cgo.txt all: drop support for Go 1.17 4 years ago
crossbuild.txt all: drop support for Go 1.17 4 years ago
debugdir.txt all: drop support for Go 1.17 4 years ago
embed.txt all: drop support for Go 1.17 4 years ago
gogarble.txt all: drop support for Go 1.17 4 years ago
goversion.txt all: drop support for Go 1.17 4 years ago
help.txt make "garble version" include VCS information 4 years ago
implement.txt all: drop support for Go 1.17 4 years ago
imports.txt slightly improve code thanks to Go 1.18 APIs 4 years ago
init.txt all: drop support for Go 1.17 4 years ago
ldflags.txt all: drop support for Go 1.17 4 years ago
linkname.txt all: drop support for Go 1.17 4 years ago
literals.txt all: drop support for Go 1.17 4 years ago
modinfo.txt all: drop support for Go 1.17 4 years ago
plugin.txt all: drop support for Go 1.17 4 years ago
position.txt all: drop support for Go 1.17 4 years ago
reflect.txt slightly improve code thanks to Go 1.18 APIs 4 years ago
reverse.txt all: drop support for Go 1.17 4 years ago
seed-cache.txt all: drop support for Go 1.17 4 years ago
seed.txt all: drop support for Go 1.17 4 years ago
syntax.txt all: drop support for Go 1.17 4 years ago
test.txt all: drop support for Go 1.17 4 years ago
tiny.txt all: drop support for Go 1.17 4 years ago