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í 95501f0fcd
testdata: avoid unnecessary deps in init.txt (#166)
We can use println instead of fmt.Println. Similarly, we can avoid
strings.Join by just appending bytes to a []byte.

This is less important now that we have build caching, but it still
helps to do less work overall and link smaller binaries.

Reduces 'go test -run Script/init' from 0.5s to 0.3s on my laptop.

Also, properly format the Go in that file, since the space indentation
wasn't noticed during code review. We might want to enforce gofmt in Go
files within txtar files if this keeps happening.
5 years ago
..
asm.txt Strip all filename and position info when -tiny is passed (#128) 6 years ago
basic.txt initial support for build caching (#142) 5 years ago
cgo.txt Strip all filename and position info when -tiny is passed (#128) 6 years ago
debugdir.txt Store obfuscated sources in object files (#158) 5 years ago
goprivate.txt add blacklist for runtime std packages 6 years ago
goversion.txt add test for Go version checking (#140) 5 years ago
help.txt all: update the docs a bit 6 years ago
implement.txt testdata: set GOPRIVATE in all but two tests (#104) 6 years ago
imports.txt Fix bug where structs would get garbled in some packages but not in others (#161) 5 years ago
init.txt testdata: avoid unnecessary deps in init.txt (#166) 5 years ago
ldflags.txt Rewrite renaming logic for private names and reduce length of public names (#135) 6 years ago
literals.txt testdata: avoid 'go build' with -short in literals.txt 5 years ago
modinfo.txt testdata: set GOPRIVATE in all but two tests (#104) 6 years ago
plugin.txt Disable plugin test (#120) 6 years ago
seed.txt initial support for build caching (#142) 5 years ago
syntax.txt Allow struct fields to be garbled, fixes #48 (#159) 5 years ago
test.txt testdata: set GOPRIVATE in all but two tests (#104) 6 years ago
tiny.txt properly remove all filenames when -tiny is passed (#160) 5 years ago