Skip to content

Commit

Permalink
remove old buggy rebar, rewrote rebar.config
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyrog committed Sep 10, 2013
1 parent de35cc3 commit af5dee6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
all: compile

compile:
@ ./rebar compile
rebar compile

tests:
@ ./rebar eunit
rebar eunit

clean:
@ ./rebar clean
rebar clean

Binary file removed rebar
Binary file not shown.
9 changes: 6 additions & 3 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-
{erl_opts, [debug_info]}.

{so_specs,
[{"priv/bcrypt_nif.so",
["c_src/blowfish.o", "c_src/bcrypt.o", "c_src/bcrypt_nif.o", "c_src/async_queue.o"]}]}.
{port_specs, [
{"priv/bcrypt_nif.so",
["c_src/blowfish.o",
"c_src/bcrypt.o",
"c_src/bcrypt_nif.o",
"c_src/async_queue.o"]}]}.

{post_hooks,
[{clean, "rm -f priv/bcrypt"},
Expand Down

0 comments on commit af5dee6

Please sign in to comment.