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