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.
tailscale/tool
Brad Fitzpatrick b56058d7e3 tool/gocross: fix regression detecting when gocross needs rebuild
Fix regression from #8108 (Mar 2023). Since that change, gocross has
always been rebuilt on each run of ./tool/go (gocross-wrapper.sh),
adding ~100ms.  (Well, not totally rebuilt; cmd/go's caching still
ends up working fine.)

The problem was $gocross_path was just "gocross", which isn't in my
path (and "." isn't in my $PATH, as it shouldn't be), so this line was
always evaluating to the empty string:

    gotver="$($gocross_path gocross-version 2>/dev/null || echo '')"

The ./gocross is fine because of the earlier `cd "$repo_root"`

Updates tailscale/corp#21262
Updates tailscale/corp#21263

Change-Id: I80d25446097a3bb3423490c164352f0b569add5f
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 months ago
..
gocross tool/gocross: fix regression detecting when gocross needs rebuild 3 months ago
binaryen.rev go.toolchain.rev: update to Go 1.20rc3 2 years ago
go tool/gocross: a tool for building Tailscale binaries 2 years ago
helm tool: download helm CLI (#9981) 11 months ago
helm.rev tool: download helm CLI (#9981) 11 months ago
node tool: force HTTP/1.1 in curl to prevent hang behind load balancer 1 year ago
node.rev tool/{node,yarn}: update node and yarn tools 1 year ago
wasm-opt cmd/tsconnect: run wasm-opt on the generated wasm file 2 years ago
yarn release/dist: run yarn build before building CLI 1 year ago
yarn.rev cmd/tsconnect: pin yarn and node 2 years ago