commit 6c5bacc55a6d05c4a53b794247d6002a843d00fc Author: Hans Svensson Date: Mon Jan 28 21:58:03 2019 +0100 Setup rebar3 project for eblake2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..40ca652 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +.rebar3 +_* +.eunit +*.o +*.beam +*.plt +*.swp +*.swo +.erlang.cookie +ebin +log +erl_crash.dump +.rebar +logs +_build +.idea +*.iml +rebar3.crashdump diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..142825a --- /dev/null +++ b/LICENSE @@ -0,0 +1,15 @@ +ISC License + +Copyright (c) 2017, aeternity developers + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..ffd652e --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +eblake2 +===== + +A pure Erlang Blake2 implementation + +Build +----- + + $ rebar3 compile diff --git a/rebar.config b/rebar.config new file mode 100644 index 0000000..8a92a3b --- /dev/null +++ b/rebar.config @@ -0,0 +1,14 @@ +{erl_opts, [debug_info]}. + +{deps, []}. + +{plugins, [rebar3_hex]}. + +{profiles, [{test, [{deps, [{jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "2.8.0"}}}]}]} + ]}. + +{xref_checks, [undefined_function_calls, undefined_functions, + locals_not_used, deprecated_function_calls, deprecated_functions]}. + +{dialyzer, [{warnings, [unknown]}]}. + diff --git a/src/eblake2.app.src b/src/eblake2.app.src new file mode 100644 index 0000000..adbcc76 --- /dev/null +++ b/src/eblake2.app.src @@ -0,0 +1,15 @@ +{application, eblake2, + [{description, "A pure Erlang Blake2 implementation"}, + {vsn, "0.1.0"}, + {registered, []}, + {applications, + [kernel, + stdlib + ]}, + {env,[]}, + {modules, []}, + + {maintainers, []}, + {licenses, ["Apache 2.0"]}, + {links, []} + ]}.