Skip to content

Commit bcdf0f1

Browse files
committed
Upgrade meck, and fix makefile
1 parent ace2143 commit bcdf0f1

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ PLT = $(HOME)/.riak-test_dialyzer_plt
1010
REBAR=./rebar3
1111

1212
all: deps compile
13-
$(REBAR) skip_deps=true escriptize
14-
SMOKE_TEST=1 $(REBAR) skip_deps=true escriptize
13+
$(REBAR) escriptize
14+
SMOKE_TEST=1 $(REBAR) escriptize
1515

1616
deps:
1717
$(if $(HEAD_REVISION),$(warning "Warning: you have checked out a tag ($(HEAD_REVISION)) and should use the locked-deps target"))
@@ -30,11 +30,11 @@ distclean: clean
3030
@rm -rf riak_test deps
3131

3232
quickbuild:
33-
$(REBAR) skip_deps=true compile
33+
$(REBAR) compile
3434
$(REBAR) escriptize
3535

3636
##################
3737
# Dialyzer targets
3838
##################
3939

40-
include tools.mk
40+
# include tools.mk

rebar.config

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,27 @@
1414
gen_fsm_compat,
1515
{lager, ".*", {git, "git://github.com/basho/lager", {tag, "3.2.1"}}},
1616
{getopt, ".*", {git, "git://github.com/jcomellas/getopt", {tag, "v0.4"}}},
17-
{meck, "0.8.2", {git, "git://github.com/basho/meck.git", {tag, "0.8.2"}}},
17+
{meck, {git, "git://github.com/eproxus/meck.git", {tag, "0.8.13"}}},
1818
{mapred_verify, ".*", {git, "git://github.com/basho/mapred_verify", {branch, "master"}}},
1919
{riakc, ".*", {git, "git://github.com/basho/riak-erlang-client", {branch, "develop-3.0"}}},
2020
{riakhttpc, ".*", {git, "git://github.com/basho/riak-erlang-http-client", {branch, "develop-3.0"}}},
2121
{kvc, "1.7.0", {git, "https://github.com/etrepum/kvc", {tag, "v1.7.0"}}},
2222
{druuid, ".*", {git, "git://github.com/kellymclaughlin/druuid.git", {tag, "0.2"}}},
23-
{rebar_lock_deps_plugin, ".*", {git, "https://github.com/basho/rebar_lock_deps_plugin.git", {tag, "3.1.0p1"}}},
2423
{kv_index_tictactree, ".*", {git, "https://github.com/martinsumner/kv_index_tictactree.git", {branch, "master"}}}
2524
]}.
2625

2726
{escript_incl_apps, [goldrush, lager, getopt, riakhttpc, riakc, ibrowse, mochiweb, kvc, kv_index_tictactree]}.
2827
{escript_emu_args, "%%! -escript main riak_test_escript +K true +P 10000 -env ERL_MAX_PORTS 10000\n"}.
28+
29+
{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
30+
escriptize,
31+
"cp \"$REBAR_BUILD_DIR/bin/riak_test\" ./riak_test"},
32+
{"win32",
33+
escriptize,
34+
"robocopy \"%REBAR_BUILD_DIR%/bin/\" ./ riak_test* "
35+
"/njs /njh /nfl /ndl & exit /b 0"} % silence things
36+
]}.
37+
2938
%% {plugin_dir, "src"}.
3039
%% {plugins, [rebar_riak_test_plugin]}.
3140
%% {riak_test, [

0 commit comments

Comments
 (0)