From 6d5378a7ec42b0216abfe6262a35e388c96322c5 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Thu, 23 Jan 2025 14:17:38 +0900 Subject: [PATCH] Zompify and migrate (#1) Reviewed-on: https://git.qpq.swiss/QPQ-AG/eblake2/pulls/1 Co-authored-by: Craig Everett Co-committed-by: Craig Everett --- Emakefile | 1 + rebar.config | 14 +++++++++++--- src/eblake2.app.src | 2 +- src/eblake2.erl | 1 + zomp.meta | 17 +++++++++++++++++ 5 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 Emakefile create mode 100644 zomp.meta diff --git a/Emakefile b/Emakefile new file mode 100644 index 0000000..68c7b67 --- /dev/null +++ b/Emakefile @@ -0,0 +1 @@ +{"src/*", [debug_info, {i, "include/"}, {outdir, "ebin/"}]}. diff --git a/rebar.config b/rebar.config index 030bc75..bc8ae43 100644 --- a/rebar.config +++ b/rebar.config @@ -4,9 +4,17 @@ {plugins, [rebar3_hex]}. -{profiles, [{test, [{deps, [{jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "2.8.0"}}}, - {enacl, {git, "https://github.com/aeternity/enacl.git", {ref, "a3d010b"}}}]}]} - ]}. +{profiles, + [{test, + [{deps, + [{jsx, + {git, + "https://github.com/talentdeficit/jsx.git", + {tag, "2.8.0"}}}, + {enacl, + {git, + "https://git.qpq.swiss/QPQ-AG/enacl.git", + {ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}}]}]}]}. {xref_checks, [undefined_function_calls, undefined_functions, locals_not_used, deprecated_function_calls, deprecated_functions]}. diff --git a/src/eblake2.app.src b/src/eblake2.app.src index d3b355e..6dc58cc 100644 --- a/src/eblake2.app.src +++ b/src/eblake2.app.src @@ -1,6 +1,6 @@ {application, eblake2, [{description, "A pure Erlang Blake2 implementation"}, - {vsn, "1.0.0"}, + {vsn, "1.0.1"}, {registered, []}, {applications, [kernel, diff --git a/src/eblake2.erl b/src/eblake2.erl index 14ac974..3f26ce7 100644 --- a/src/eblake2.erl +++ b/src/eblake2.erl @@ -5,6 +5,7 @@ %%% @end %%%============================================================================= -module(eblake2). +-vsn("1.0.1"). %% API exports -export([ blake2b/2 diff --git a/zomp.meta b/zomp.meta new file mode 100644 index 0000000..6ee1378 --- /dev/null +++ b/zomp.meta @@ -0,0 +1,17 @@ +{name,"eBlake2"}. +{type,lib}. +{modules,[]}. +{prefix,none}. +{author,"Hans Svensson"}. +{desc,"A pure Erlang Blake2 implementation"}. +{package_id,{"otpr","eblake2",{1,0,1}}}. +{deps,[]}. +{key_name,none}. +{a_email,[]}. +{c_email,[]}. +{copyright,"Hans Svensson"}. +{file_exts,[]}. +{license,skip}. +{repo_url,"https://git.qpq.swiss/QPQ-AG/eblake2"}. +{tags,["gajumaru","hash","btc","blockchain","crypto","eth","gaju"]}. +{ws_url,[]}.