Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensure_dir and use lager 1.2

  • Loading branch information...
commit 0975b368b99cb29fb746ee7a6012780a55f523f8 1 parent e40956a
@Vagabond authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  bin/bench
  2. +1 −1  rebar.config
View
1  bin/bench
@@ -40,6 +40,7 @@ run(Bench, Format, Iterations) ->
Seconds = Time / 1000000,
io:format("Result ~p ops/sec ~p~n", [trunc(Runs/Seconds), Seconds]),
OutFile = lists:flatten(["results/", atom_to_list(Bench), "_", atom_to_list(Format)]),
+ ok = filelib:ensure_dir(OutFile),
ok = file:write_file(OutFile, [integer_to_list(trunc(Runs/Seconds)), $\n], [append]),
halt(0)
catch
View
2  rebar.config
@@ -3,7 +3,7 @@
{cover_enabled, true}.
{deps, [
- {lager, "1.0.*", {git, "git://github.com/basho/lager", {branch, "master"}}},
+ {lager, "1.2.*", {git, "git://github.com/basho/lager", {branch, "master"}}},
{log4erl, "0.9.*", {git, "git://github.com/ahmednawras/log4erl.git", {branch, "master"}}},
{alog, "1", {git, "git://github.com/siberian-fast-food/alogger.git", {branch, "master"}}}
]
Please sign in to comment.
Something went wrong with that request. Please try again.