Commit Graph

14 Commits (1ce53104405d2a53c125f01dadd5c3a9ec59643a)

Author SHA1 Message Date
Daniel Martí 30524ea282 shorten 'go test -short' run time
Down from ~11s to ~7s, as we can skip some extra checks.

While at it, avoid duplicate 'go test' builds in test.txt.
6 years ago
Daniel Martí 5556be7402 make the tool work on Windows, enable tests
The tests required a few last tweaks to work on Windows.
6 years ago
Daniel Martí 0058dfc12a make output binaries deterministic
We were leaking temporary file paths, which is no longer the case.
6 years ago
Daniel Martí ab560ff007 start testing on GitHub Actions
No windows yet, because a few portability issues remain.
6 years ago
Daniel Martí e08dd99c1e introduce a binary grep command for the tests
The problem with the "grep" built-in command is that it prints the
entire data if there is an error. We don't want megabytes of binary
output for a test.
6 years ago
Daniel Martí 766bb47b82 support std imports 6 years ago
Daniel Martí 764af03e89 introduce 'garble build' shortcut
This way, the user doesn't need to remember to use flags like -a and
-trimpath. Also because we might need more 'go build' flags in the
future.
6 years ago
Daniel Martí 63f58242fb move garble binary setup with $PATH to Setup
This way, it's ready for multiple scripts.
6 years ago
Daniel Martí 8119fa0e62 use readelf in a way that it prints less output 6 years ago
Daniel Martí f4e356ab13 start hashing identifiers 6 years ago
Daniel Martí f47c12caba add a bit more docs 6 years ago
Daniel Martí a670f80fe9 error if the user forgot -trimpath 6 years ago
Daniel Martí f81b92a0fa start enforcing the link flags -w -s 6 years ago
Daniel Martí f5f72ef626 initial commit 6 years ago