{"action":"opened","issue":{"url":"https://api.github.com/repos/ninenines/erlang.mk/issues/380","labels_url":"https://api.github.com/repos/ninenines/erlang.mk/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/ninenines/erlang.mk/issues/380/comments","events_url":"https://api.github.com/repos/ninenines/erlang.mk/issues/380/events","html_url":"https://github.com/ninenines/erlang.mk/issues/380","id":109389764,"number":380,"title":"Applications in APPS_DIR not compiled in correct order","user":{"login":"cmkarlsson","id":5770148,"avatar_url":"https://avatars.githubusercontent.com/u/5770148?v=3","gravatar_id":"","url":"https://api.github.com/users/cmkarlsson","html_url":"https://github.com/cmkarlsson","followers_url":"https://api.github.com/users/cmkarlsson/followers","following_url":"https://api.github.com/users/cmkarlsson/following{/other_user}","gists_url":"https://api.github.com/users/cmkarlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/cmkarlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmkarlsson/subscriptions","organizations_url":"https://api.github.com/users/cmkarlsson/orgs","repos_url":"https://api.github.com/users/cmkarlsson/repos","events_url":"https://api.github.com/users/cmkarlsson/events{/privacy}","received_events_url":"https://api.github.com/users/cmkarlsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-01T21:32:38Z","updated_at":"2015-10-01T21:32:38Z","closed_at":null,"body":"I am trying out the new APPS_DIR folder.\r\n\r\nI have empty top project with dependencies in deps and internal OTP applications under lib. However, the OTP applications under lib do depend on each other so may need both compilation order and the other applications to be included with -I for include files.\r\n\r\nAssume I have lib/A, lib/B and lib/C. App A and app B include C/include/C.hrl and depend on C being compiled first.\r\n\r\nIn rebar2 I specify {lib_dirs, [C, B, A]} and that works.\r\nIn rebar3 they deduce it from app.src files and rebar.config in individual apps.\r\n\r\nCheers"}}