Skip to content

Commit

Permalink
Fixing dependencies for erlpass.
Browse files Browse the repository at this point in the history
No longer depend on PropEr, provide an alternative
rebar command & config for tests only.
  • Loading branch information
ferd committed Oct 19, 2012
1 parent 3562391 commit ca59515
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A library to handle password hashing and changing in a safe manner, independent

## Build Instructions ##

You need to have rebar installed. Call `./rebar get-deps && ./rebar compile`.
Call `./rebar get-deps compile`.

## How do I use this ##

Expand Down Expand Up @@ -42,6 +42,8 @@ This library uses the erlang-bcrypt port from the Smarkets team to work in a saf
## Other Dependencies ##
You will need to have PropEr to run the tests. It's a fantastic testing library.

You can run the tests with `./rebar -C rebar.test.config get-deps compile && ./rebar eunit skip_deps=true`.

## Authors ##

- [Fred Hebert](http://ferd.ca)
4 changes: 2 additions & 2 deletions ebin/erlpass.app
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{application, erlpass,
[{description, "Safely handle passwords with bcrypt and Erlang"},
{vsn, "0.1.2"},
{vsn, "0.1.3"},
{modules, [erlpass]},
{applications, [bcrypt]},
{registered, []},
{agner, [{requires, ["bcrypt","proper"]}]}
{agner, [{requires, ["bcrypt"]}]}
]}.
3 changes: 1 addition & 2 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{lib_dirs, ["deps"]}.

{deps, [{proper, "1.0", {git, "git://github.com/manopapad/proper.git", {branch, "master"}}},
{bcrypt, "0.5.0", {git, "git://github.com/smarkets/erlang-bcrypt.git", {tag, "0.5.0"}}}]}.
{deps, [{bcrypt, "0.5.0", {git, "https://github.com/smarkets/erlang-bcrypt.git", {tag, "0.5.0"}}}]}.

5 changes: 5 additions & 0 deletions rebar.test.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{lib_dirs, ["deps"]}.

{deps, [{proper, "1.0", {git, "https://github.com/manopapad/proper.git", {branch, "master"}}},
{bcrypt, "0.5.0", {git, "https://github.com/smarkets/erlang-bcrypt.git", {tag, "0.5.0"}}}]}.

0 comments on commit ca59515

Please sign in to comment.