File tree 3 files changed +18
-22
lines changed
3 files changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -231,8 +231,8 @@ erlang_package.hex_package(
231
231
erlang_package .hex_package (
232
232
name = "thoas" ,
233
233
build_file = "@rabbitmq-server//bazel:BUILD.thoas" ,
234
- sha256 = "fc763185b932ecb32a554fb735ee03c3b6b1b31366077a2427d2a97f3bd26735 " ,
235
- version = "1.0.0 " ,
234
+ sha256 = "e38697edffd6e91bd12cea41b155115282630075c2a727e7a6b2947f5408b86a " ,
235
+ version = "1.2.1 " ,
236
236
)
237
237
238
238
erlang_package .hex_package (
Original file line number Diff line number Diff line change @@ -22,14 +22,9 @@ erlang_bytecode(
22
22
"src/thoas_decode.erl",
23
23
"src/thoas_encode.erl",
24
24
],
25
- outs = [
26
- "ebin/thoas.beam",
27
- "ebin/thoas_decode.beam",
28
- "ebin/thoas_encode.beam",
29
- ],
30
- hdrs = [],
25
+ hdrs = [":public_and_private_hdrs"],
31
26
app_name = "thoas",
32
- beam = [] ,
27
+ dest = "ebin" ,
33
28
erlc_opts = "//:erlc_opts",
34
29
)
35
30
@@ -48,20 +43,11 @@ filegroup(
48
43
],
49
44
)
50
45
51
- filegroup(
52
- name = "private_hdrs",
53
- srcs = [],
54
- )
46
+ filegroup(name = "private_hdrs")
55
47
56
- filegroup(
57
- name = "public_hdrs",
58
- srcs = [],
59
- )
48
+ filegroup(name = "public_hdrs")
60
49
61
- filegroup(
62
- name = "priv",
63
- srcs = [],
64
- )
50
+ filegroup(name = "priv")
65
51
66
52
filegroup(
67
53
name = "licenses",
@@ -87,12 +73,22 @@ filegroup(
87
73
erlang_app(
88
74
name = "erlang_app",
89
75
srcs = [":all_srcs"],
76
+ hdrs = [":public_hdrs"],
90
77
app_name = "thoas",
91
78
beam_files = [":beam_files"],
79
+ license_files = [":license_files"],
80
+ priv = [":priv"],
92
81
)
93
82
94
83
alias(
95
84
name = "thoas",
96
85
actual = ":erlang_app",
97
86
visibility = ["//visibility:public"],
98
87
)
88
+
89
+ filegroup(
90
+ name = "license_files",
91
+ srcs = [
92
+ "LICENSE",
93
+ ],
94
+ )
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ dep_ra = hex 2.13.5
127
127
dep_ranch = hex 2.1.0
128
128
dep_recon = hex 2.5.3
129
129
dep_redbug = hex 2.0.7
130
- dep_thoas = hex 1.0.0
130
+ dep_thoas = hex 1.2.1
131
131
dep_observer_cli = hex 1.7.5
132
132
dep_seshat = git https://github.com/rabbitmq/seshat v0.6.1
133
133
dep_stdout_formatter = hex 0.2.4
You can’t perform that action at this time.
0 commit comments