Skip to content

Commit

Permalink
move go formatting tools into go/fmt (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez authored May 12, 2022
1 parent cec523f commit 64ae8c7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/go/go.bzl → go/fmt/rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def test_go_fmt(srcs = [], deps = [], **kwargs):
"GOFMT": "$(rootpath @go_sdk//:bin/gofmt)",
},
deps = deps,
srcs = ["//tools/go:test_fmt.sh"],
srcs = ["//go/fmt:test_fmt.sh"],
data = ["@go_sdk//:bin/gofmt"] + srcs,
args = ["$(rootpath %s)" % x for x in srcs],
**kwargs
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion rules.bzl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools/jest:jest.bzl", _jest_test = "jest_test")
load("//tools/go:go.bzl", _test_go_fmt = "test_go_fmt")
load("//go/fmt:rules.bzl", _test_go_fmt = "test_go_fmt")
load("@io_bazel_rules_go//go:def.bzl", _go_binary = "go_binary", _go_library = "go_library", _go_test = "go_test")
load("@npm//@bazel/typescript:index.bzl", _ts_config = "ts_config", _ts_project = "ts_project")
load("@npm//eslint:index.bzl", _eslint_test = "eslint_test")
Expand Down

0 comments on commit 64ae8c7

Please sign in to comment.