move bin/ to tools/
The directories are not that different now. Also, clean up .bazelrc
This commit is contained in:
12
tools/mod-tidy
Executable file
12
tools/mod-tidy
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright 2023 Uber Technologies, Inc.
|
||||
# Licensed under the Apache License, Version 2.0
|
||||
set -xeu
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
echo "--- go mod tidy"
|
||||
tools/bazel run @go_sdk//:bin/go -- mod tidy
|
||||
|
||||
echo "--- gazelle-update-repos"
|
||||
exec tools/bazel run //:gazelle-update-repos
|
||||
Reference in New Issue
Block a user