Skip to content

Commit

Permalink
Force version check before compile
Browse files Browse the repository at this point in the history
So to discover version discrepancy early
  • Loading branch information
zmstone committed May 13, 2019
1 parent dd52298 commit 50cce06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ DEPS = supervisor3 kafka_protocol
ERLC_OPTS = -Werror +warn_unused_vars +warn_shadow_vars +warn_unused_import +warn_obsolete_guard +debug_info -Dbuild_brod_cli

dep_supervisor3_commit = 1.1.8
dep_kafka_protocol_commit = 2.2.7
dep_kafka_protocol_commit = 2.2.8
dep_kafka_protocol = git https://github.com/klarna/kafka_protocol.git $(dep_kafka_protocol_commit)

EDOC_OPTS = preprocess, {macros, [{build_brod_cli, true}]}

## Make app the default target
## To avoid building a release when brod is used as a erlang.mk project's dependency
app::
app:: vsn-check

include erlang.mk

compile:
compile: vsn-check
@rebar3 compile

test-env:
Expand Down

0 comments on commit 50cce06

Please sign in to comment.