diff options
author | Derek Brown <[email protected]> | 2014-08-05 13:14:13 -0400 |
---|---|---|
committer | Derek Brown <[email protected]> | 2014-08-13 10:26:25 -0400 |
commit | eb8a5a8678e6ec69c7bc64dfac01863d006be76f (patch) | |
tree | 83cab7c9d8d9b6720b6763aaf5d05737faded412 /erlang.mk | |
parent | c2e423040596efd8267a701c87090188a3109fe7 (diff) | |
download | erlang.mk-eb8a5a8678e6ec69c7bc64dfac01863d006be76f.tar.gz erlang.mk-eb8a5a8678e6ec69c7bc64dfac01863d006be76f.tar.bz2 erlang.mk-eb8a5a8678e6ec69c7bc64dfac01863d006be76f.zip |
Add error message before failing due to invalid dependency
If a dependency specified in DEPS is unknown or invalid (its VS
is not "git"), erlang.mk will fail. Now, add a human-readable
error message to help the user understand what the problem is.
Diffstat (limited to 'erlang.mk')
-rw-r--r-- | erlang.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -115,6 +115,7 @@ define dep_fetch git clone -n -- $$$$REPO $(DEPS_DIR)/$(1); \ cd $(DEPS_DIR)/$(1) && git checkout -q $$$$COMMIT; \ else \ + echo "Unknown or invalid dependency: $(1). Please consult the erlang.mk README for instructions." >&2; \ exit 78; \ fi endef |