Permalink
Browse files

Added rebar build system and an application file.

  • Loading branch information...
whitelynx committed Dec 5, 2012
1 parent 6b0ef80 commit a2b59e23903679737363e04e96bef8cc92254fa8
Showing with 28 additions and 0 deletions.
  1. BIN rebar
  2. +20 −0 rebar.config
  3. +8 −0 src/pbkdf2.app.src
View
BIN rebar
Binary file not shown.
View
@@ -0,0 +1,20 @@
+%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
+%% ex: ts=4 sw=4 ft=erlang noet
+
+
+%% Require at least R14B03. (couchdb requires this version or newer, and this code hasn't been tested on earlier)
+{require_min_otp_vsn, "R14B03"}.
+
+%% Ensure the ebin directory exists before we try to put files there.
+{pre_hooks, [
+ {compile, "mkdir -p ebin"}
+]}.
+
+
+%% == xref ==
+
+%% Enable xref warnings.
+{xref_warnings, true}.
+
+%% xref checks to run
+{xref_checks, [undefined_function_calls]}.
View
@@ -0,0 +1,8 @@
+{application, pbkdf2, [
+ {description, "Erlang PBKDF2 Key Derivation Function"},
+ {vsn, "0.0.1"},
+ {registered, []},
+ {applications, [kernel, stdlib]},
+ {modules, [pbkdf2]},
+ {env, []}
+]}.

0 comments on commit a2b59e2

Please sign in to comment.