Move to rebar3

This commit is contained in:
Paul Oliver
2016-08-06 17:40:55 +12:00
parent 74575bcc72
commit a151d3d2ed
6 changed files with 84 additions and 11 deletions
+6 -10
View File
@@ -6,16 +6,12 @@
{clean_files, [".eunit",
"ebin/*.beam"]}.
{port_env, [{"CFLAGS", "$CFLAGS -O2 -finline-functions -fomit-frame-pointer -fno-strict-aliasing -Wmissing-prototypes -Wall -std=c99"}]}.
{port_specs, [
% 64 bit only
{"priv/sha3_nif.so", ["c_src/sha3_nif.c",
"c_src/KeccakNISTInterface.c",
"c_src/KeccakSponge.c",
"c_src/KeccakF-1600-opt64.c",
"c_src/displayIntermediateValues.c"]}
]}.
{pre_hooks,
[{"(linux|darwin|solaris)", compile, "make -C c_src"},
{"(freebsd)", compile, "gmake -C c_src"}]}.
{post_hooks,
[{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(freebsd)", clean, "gmake -C c_src clean"}]}.
{eunit_opts, [{report,{eunit_surefire,[{dir,"."}]}}]}.