This commit is contained in:
Lynn 2020-02-28 23:58:29 -08:00
parent e7e165ef1b
commit 7bdc44fa18
No known key found for this signature in database
GPG Key ID: 9E60BEE0555C367B

View File

@ -184,6 +184,9 @@ func TocActionFunc(c *cli.Context) error {
return nil
}
// checkBinarySizeActionFunc checks the size of an example binary to ensure that we are keeping size down
// this was originally inspired by https://github.com/urfave/cli/issues/1055, and followed up on as a part
// of https://github.com/urfave/cli/issues/1057
func checkBinarySizeActionFunc(c *cli.Context) (err error) {
const (
sourceFilePath = "./internal/example/example.go"