]> Cypherpunks repositories - gostls13.git/commit
{all,clean,make,race,run}.bat: simplify error handling
authorqmuntal <quimmuntal@gmail.com>
Tue, 11 Feb 2025 08:17:08 +0000 (09:17 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 11 Feb 2025 17:45:10 +0000 (09:45 -0800)
commite9eb88ae7291bf9f1b05e8e4860474c734c5448d
tree28e98518dc24a373efd01769156d399d8516ac4d
parent450f3f608d409e2b3d76af071ec726efacbdd17b
{all,clean,make,race,run}.bat: simplify error handling

The bat files can use "if" + parentheses to make it easier to
understand how the if-case is handled rather than the more cryptic
"if" + "goto".

While here, replace some "goto"s with direct "exit" calls.

Change-Id: I20e1804439b5088f8f1e5cbf8676f3d58560109d
Reviewed-on: https://go-review.googlesource.com/c/go/+/648375
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/all.bat
src/clean.bat
src/make.bat
src/race.bat
src/run.bat