Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing dependencies for erlpass.

No longer depend on PropEr, provide an alternative
rebar command & config for tests only.
  • Loading branch information...
commit ca59515f34fcb51dd1a48b2beea1ae0dfbe7228e 1 parent 3562391
@ferd authored
View
4 README.markdown
@@ -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 ##
@@ -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)
View
4 ebin/erlpass.app
@@ -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"]}]}
]}.
View
3  rebar.config
@@ -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"}}}]}.
View
5 rebar.test.config
@@ -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"}}}]}.
+
Please sign in to comment.
Something went wrong with that request. Please try again.