{"action":"created","issue":{"url":"https://api.github.com/repos/bitwalker/exrm/issues/256","labels_url":"https://api.github.com/repos/bitwalker/exrm/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/bitwalker/exrm/issues/256/comments","events_url":"https://api.github.com/repos/bitwalker/exrm/issues/256/events","html_url":"https://github.com/bitwalker/exrm/issues/256","id":119459480,"number":256,"title":"App not compiled when release with MIX_ENV=prod","user":{"login":"ThijsWouters","id":165202,"avatar_url":"https://avatars.githubusercontent.com/u/165202?v=3","gravatar_id":"","url":"https://api.github.com/users/ThijsWouters","html_url":"https://github.com/ThijsWouters","followers_url":"https://api.github.com/users/ThijsWouters/followers","following_url":"https://api.github.com/users/ThijsWouters/following{/other_user}","gists_url":"https://api.github.com/users/ThijsWouters/gists{/gist_id}","starred_url":"https://api.github.com/users/ThijsWouters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThijsWouters/subscriptions","organizations_url":"https://api.github.com/users/ThijsWouters/orgs","repos_url":"https://api.github.com/users/ThijsWouters/repos","events_url":"https://api.github.com/users/ThijsWouters/events{/privacy}","received_events_url":"https://api.github.com/users/ThijsWouters/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-30T10:06:31Z","updated_at":"2015-11-30T16:05:31Z","closed_at":"2015-11-30T16:05:31Z","body":"My phoenix app is not compiled when I release with `MIX_ENV=prod`.\r\n\r\nThis builds the release:\r\n-  `rm -rf _build`\r\n- `mix release`\r\n\r\nThis does not:\r\n-  `rm -rf _build`\r\n- `MIX_ENV=prod mix release`\r\n\r\nThis compile all dependencies, but does not compile my app.\r\n\r\nThis does build a release:\r\n-  `rm -rf _build`\r\n- `MIX_ENV=prod mix compile`\r\n- `MIX_ENV=prod mix release`"},"comment":{"url":"https://api.github.com/repos/bitwalker/exrm/issues/comments/160672378","html_url":"https://github.com/bitwalker/exrm/issues/256#issuecomment-160672378","issue_url":"https://api.github.com/repos/bitwalker/exrm/issues/256","id":160672378,"user":{"login":"bitwalker","id":955793,"avatar_url":"https://avatars.githubusercontent.com/u/955793?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwalker","html_url":"https://github.com/bitwalker","followers_url":"https://api.github.com/users/bitwalker/followers","following_url":"https://api.github.com/users/bitwalker/following{/other_user}","gists_url":"https://api.github.com/users/bitwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwalker/subscriptions","organizations_url":"https://api.github.com/users/bitwalker/orgs","repos_url":"https://api.github.com/users/bitwalker/repos","events_url":"https://api.github.com/users/bitwalker/events{/privacy}","received_events_url":"https://api.github.com/users/bitwalker/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T16:05:31Z","updated_at":"2015-11-30T16:05:31Z","body":"Yes, you have to compile before you can run the mix release task, however I've pushed a change to master so that the compile task is explicitly run before the release task runs, so this should no longer be an issue. You still have to compile after fetching deps with exrm the first time in order to access the release task, but that's expected."}}