summaryrefslogtreecommitdiff
path: root/test/mock_pkg_resource.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-03-23 21:27:47 -0700
committerFred Hebert <mononcqc@ferd.ca>2015-03-23 21:27:47 -0700
commit4821b923238cfe94de7ad8824c5c9ecf88275563 (patch)
tree7b5857e2e417050ab59c2c35bc68f2193ce2f4af /test/mock_pkg_resource.erl
parent63fb911303d57294c8e5f8a291026ca6b5f3709c (diff)
parent5e58823fd67703d7bfeb0b6f4848d9af2c292b9a (diff)
Merge pull request #286 from tsloughter/checkouts
treat _checkouts as deps that are always compiled
Diffstat (limited to 'test/mock_pkg_resource.erl')
-rw-r--r--test/mock_pkg_resource.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mock_pkg_resource.erl b/test/mock_pkg_resource.erl
index a22d1b0..afb6fb4 100644
--- a/test/mock_pkg_resource.erl
+++ b/test/mock_pkg_resource.erl
@@ -78,9 +78,9 @@ mock_download(Opts) ->
App = binary_to_list(AppBin),
filelib:ensure_dir(Dir),
AppDeps = proplists:get_value({App,Vsn}, Deps, []),
- {ok, AppInfo} = rebar_test_utils:create_empty_app(
- Dir, App, Vsn,
- [element(1,D) || D <- AppDeps]
+ {ok, AppInfo} = rebar_test_utils:create_app(
+ Dir, App, binary_to_list(Vsn),
+ [kernel, stdlib] ++ [element(1,D) || D <- AppDeps]
),
rebar_test_utils:create_config(Dir, [{deps, AppDeps}]),
Tarball = filename:join([Dir, App++"-"++binary_to_list(Vsn)++".tar"]),