bazel run gazelle
This commit is contained in:
parent
4e26cfe3b8
commit
46565f4dea
|
@ -82,7 +82,8 @@ eunit(
|
|||
name = "eunit",
|
||||
compiled_suites = [
|
||||
":test_oauth_http_mock_beam",
|
||||
":test_oauth2_client_test_util_beam"],
|
||||
":test_oauth2_client_test_util_beam",
|
||||
],
|
||||
target = ":test_erlang_app",
|
||||
)
|
||||
|
||||
|
|
|
@ -8,15 +8,15 @@ def all_beam_files(name = "all_beam_files"):
|
|||
)
|
||||
erlang_bytecode(
|
||||
name = "other_beam",
|
||||
srcs = ["src/oauth2_client.erl",
|
||||
"src/jwt_helper.erl"],
|
||||
srcs = [
|
||||
"src/jwt_helper.erl",
|
||||
"src/oauth2_client.erl",
|
||||
],
|
||||
hdrs = [":public_and_private_hdrs"],
|
||||
app_name = "oauth2_client",
|
||||
dest = "ebin",
|
||||
erlc_opts = "//:erlc_opts",
|
||||
deps = [
|
||||
"@jose//:erlang_app"
|
||||
],
|
||||
deps = ["@jose//:erlang_app"],
|
||||
)
|
||||
|
||||
def all_test_beam_files(name = "all_test_beam_files"):
|
||||
|
@ -28,15 +28,15 @@ def all_test_beam_files(name = "all_test_beam_files"):
|
|||
erlang_bytecode(
|
||||
name = "test_other_beam",
|
||||
testonly = True,
|
||||
srcs = ["src/oauth2_client.erl",
|
||||
"src/jwt_helper.erl"],
|
||||
srcs = [
|
||||
"src/jwt_helper.erl",
|
||||
"src/oauth2_client.erl",
|
||||
],
|
||||
hdrs = [":public_and_private_hdrs"],
|
||||
app_name = "oauth2_client",
|
||||
dest = "test",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = [
|
||||
"@jose//:erlang_app"
|
||||
],
|
||||
deps = ["@jose//:erlang_app"],
|
||||
)
|
||||
|
||||
def all_srcs(name = "all_srcs"):
|
||||
|
@ -54,8 +54,10 @@ def all_srcs(name = "all_srcs"):
|
|||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = ["src/oauth2_client.erl",
|
||||
"src/jwt_helper.erl"],
|
||||
srcs = [
|
||||
"src/jwt_helper.erl",
|
||||
"src/oauth2_client.erl",
|
||||
],
|
||||
)
|
||||
filegroup(
|
||||
name = "private_hdrs",
|
||||
|
|
|
@ -104,7 +104,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
testonly = True,
|
||||
srcs = ["test/system_SUITE.erl"],
|
||||
outs = ["test/system_SUITE.beam"],
|
||||
hdrs = [],
|
||||
app_name = "rabbitmq_peer_discovery_consul",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
)
|
||||
|
|
|
@ -392,6 +392,7 @@ meck:
|
|||
my_plugin:
|
||||
- my_plugin
|
||||
oauth2_client:
|
||||
- jwt_helper
|
||||
- oauth2_client
|
||||
observer_cli:
|
||||
- observer_cli
|
||||
|
|
Loading…
Reference in New Issue