Skip to content

Commit bc52bdc

Browse files
Taureclaude
andauthored
chore: prepare hex.pm publishing for v0.1.1 (#9)
- Fix SPDX license identifier (Apache 2.0 -> Apache-2.0) - Add GitHub link to app.src metadata - Switch nova dep from git to hex (same 0.12.1) - Add rebar3_ex_doc plugin and hex doc config - Add doc/ to .gitignore Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent eb3597f commit bc52bdc

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ _build
1717
*.iml
1818
rebar3.crashdump
1919
*~
20+
doc/

rebar.config

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{erl_opts, [debug_info]}.
22
{deps, [
3-
{nova, {git, "git@github.com:novaframework/nova.git", {tag, "v0.12.1"}}},
3+
{nova, "0.12.1"},
44
{jesse, "1.8.1"}
55
]}.
66

@@ -13,7 +13,19 @@
1313
]}.
1414

1515
{project_plugins, [
16-
{erlfmt, "~>1.3"}
16+
{erlfmt, "~>1.3"},
17+
rebar3_ex_doc
18+
]}.
19+
20+
{hex, [{doc, #{provider => ex_doc}}]}.
21+
22+
{ex_doc, [
23+
{extras, [
24+
{"README.md", #{title => "Overview"}},
25+
{"LICENSE", #{title => "License"}}
26+
]},
27+
{main, "README.md"},
28+
{source_url, "https://github.com/novaframework/nova_json_schemas"}
1729
]}.
1830

1931
{erlfmt, [

rebar.lock

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
{<<"erlydtl">>,{pkg,<<"erlydtl">>,<<"0.14.0">>},1},
55
{<<"jesse">>,{pkg,<<"jesse">>,<<"1.8.1">>},0},
66
{<<"jhn_stdlib">>,{pkg,<<"jhn_stdlib">>,<<"5.3.3">>},1},
7-
{<<"nova">>,
8-
{git,"git@github.com:novaframework/nova.git",
9-
{ref,"c6e1f0c8d086b84809b8a0bb040d8372e8bd42eb"}},
10-
0},
7+
{<<"nova">>,{pkg,<<"nova">>,<<"0.12.1">>},0},
118
{<<"ranch">>,{pkg,<<"ranch">>,<<"2.2.0">>},2},
129
{<<"routing_tree">>,{pkg,<<"routing_tree">>,<<"1.0.11">>},1},
1310
{<<"thoas">>,{pkg,<<"thoas">>,<<"1.2.1">>},1}]}.
@@ -18,6 +15,7 @@
1815
{<<"erlydtl">>, <<"964B2DC84F8C17ACFAA69C59BA129EF26AC45D2BA898C3C6AD9B5BDC8BA13CED">>},
1916
{<<"jesse">>, <<"C9E3670C7EE40F719734E3BC716578143AABA93FC7525A02A7D5CB300B3AD71E">>},
2017
{<<"jhn_stdlib">>, <<"3E50C560334A85EE5B6C645D2E1BCD35E7BE667E5FCB62AA364F00737C2ADC61">>},
18+
{<<"nova">>, <<"78B60221F632C5C7D1B0EEEABCB7370764304C32C757C0343513DA4108326BD3">>},
2119
{<<"ranch">>, <<"25528F82BC8D7C6152C57666CA99EC716510FE0925CB188172F41CE93117B1B0">>},
2220
{<<"routing_tree">>, <<"72ACEF2095F0EC804F7AFD07EF781DDE5009425A1CA0A28F0706B1DB334A4812">>},
2321
{<<"thoas">>, <<"19A25F31177A17E74004D4840F66D791D4298C5738790FA2CC73731EB911F195">>}]},
@@ -27,6 +25,7 @@
2725
{<<"erlydtl">>, <<"D80EC044CD8F58809C19D29AC5605BE09E955040911B644505E31E9DD8143431">>},
2826
{<<"jesse">>, <<"0EDED3F18623FDA2F25989804A06CF518B4ACF2E9365B18C8E8C013D7E3C906F">>},
2927
{<<"jhn_stdlib">>, <<"2CB184C505397B62A842AB3DE13F21B83ADF62364BD35A572191629E30E0258E">>},
28+
{<<"nova">>, <<"C43DC05F0B0F31FD3CF3B0415F2772BFD9FFD75DFEBFFE0B806DE85B6581F4C7">>},
3029
{<<"ranch">>, <<"FA0B99A1780C80218A4197A59EA8D3BDAE32FBFF7E88527D7D8A4787EFF4F8E7">>},
3130
{<<"routing_tree">>, <<"85982C7AC502892C5179CD2A591331003BACD2D2A71723640BA7D23F45408E6E">>},
3231
{<<"thoas">>, <<"E38697EDFFD6E91BD12CEA41B155115282630075C2A727E7A6B2947F5408B86A">>}]}

src/nova_json_schemas.app.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
{env, []},
1111
{modules, []},
1212

13-
{licenses, ["Apache 2.0"]},
14-
{links, []}
13+
{licenses, ["Apache-2.0"]},
14+
{links, [{"GitHub", "https://github.com/novaframework/nova_json_schemas"}]}
1515
]}.

0 commit comments

Comments
 (0)