summaryrefslogtreecommitdiff
path: root/src/rebar_prv_install_deps.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-06-02 18:31:10 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-06-02 18:31:10 -0400
commit2c533d0f45e5b2f93999e5c17c55e90bb46a4ded (patch)
tree7b38b948e05a489633687d5185d1937efc0b7e02 /src/rebar_prv_install_deps.erl
parent94742c40ed93bc786f96418eced67a3b257b372d (diff)
parente4c300417baa15731e0a0239e610a2b87a91172d (diff)
Merge pull request #500 from tsloughter/artifacts
add config option artifacts
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r--src/rebar_prv_install_deps.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index d8b9000..61bbb62 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -666,7 +666,8 @@ warn_skip_pkg({Name, Source}, State) ->
not_needs_compile(App) ->
not(rebar_app_info:is_checkout(App))
- andalso rebar_app_info:valid(App).
+ andalso rebar_app_info:valid(App)
+ andalso rebar_state:has_all_artifacts(rebar_app_info:state(App)) =:= true.
get_package(Dep, State) ->
case rebar_state:registry(State) of