summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-02-07 20:02:28 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-02-07 20:02:28 -0600
commitd0668532a38619e0a0441a0242b2fb2d476b500a (patch)
tree289835cb5ab5b823bee06e7b639dfa726bf5e4ed /src
parent038d721f90952f0eabda6b4e5333a0ec35a255dd (diff)
parent79a1c285f0d66e3379b48c6e65ead55345620be2 (diff)
Merge pull request #133 from nuex/handle-missing-app-file
Validate .app File Presence
Diffstat (limited to 'src')
-rw-r--r--src/rebar_app_utils.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_app_utils.erl b/src/rebar_app_utils.erl
index dac3f0f..f991e4e 100644
--- a/src/rebar_app_utils.erl
+++ b/src/rebar_app_utils.erl
@@ -127,6 +127,7 @@ app_vsn(Config, AppFile) ->
%% Internal functions
%% ===================================================================
+load_app_file(_State, undefined) -> {error, missing_app_file};
load_app_file(State, Filename) ->
AppFile = {app_file, Filename},
case rebar_state:get(State, {appfile, AppFile}, undefined) of