Commit Graph

5 Commits

Author SHA1 Message Date
Daniel Martí
f764467e9b all: update the docs a bit
Rework the features section in the README, leaving optional features at
the end of the list. Simplify the caveats list, too; the build cache and
exported field/method bits only need one point each. Overall, the
section was far too wordy for little reason.

Also redo the help text a bit. There's now a line to briefly introduce
the tool, as well as a link to the README with all the details. Finally,
the flags have shorter and more consistent help strings.

While at it, remove two unused global vars as spotted by staticcheck.
2020-09-06 13:32:00 +01:00
Daniel Martí
7fe0bf4787 simplify the main code flow somewhat
We don't really care about tools other than "compile" and "link". Stop
trying to keep a complete list.

Use "if err := f(); err != nil {" where it makes sense.

Simplify some declarations, and use a better variable name than "fW".
2020-08-10 12:49:01 +02:00
Daniel Martí
1ef3daf251 clarify usage text, add help flags
Also remove the -toolexec equivalent, as it's becoming longer now that
we have GARBLE_DIR, and it might become out of date in the future again.
We don't want users to assume it will work forever.
2020-05-06 12:22:52 +01:00
Daniel Martí
9cf7df925d make "no such file" test pass on Windows 2019-12-15 11:40:37 +00:00
Daniel Martí
f5f72ef626 initial commit 2019-12-08 11:52:40 +00:00