chore: add gpb check to elixir build
This commit is contained in:
parent
e69ca61d49
commit
c9058121a1
9
build
9
build
|
@ -85,17 +85,22 @@ make_doc() {
|
||||||
halt(0)."
|
halt(0)."
|
||||||
}
|
}
|
||||||
|
|
||||||
make_rel() {
|
assert_no_compile_time_only_deps() {
|
||||||
./rebar3 as "$PROFILE" tar
|
|
||||||
if [ "$("$FIND" "_build/$PROFILE/rel/emqx/lib/" -maxdepth 1 -name 'gpb-*' -type d)" != "" ]; then
|
if [ "$("$FIND" "_build/$PROFILE/rel/emqx/lib/" -maxdepth 1 -name 'gpb-*' -type d)" != "" ]; then
|
||||||
echo "gpb should not be included in the release"
|
echo "gpb should not be included in the release"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
make_rel() {
|
||||||
|
./rebar3 as "$PROFILE" tar
|
||||||
|
assert_no_compile_time_only_deps
|
||||||
|
}
|
||||||
|
|
||||||
make_elixir_rel() {
|
make_elixir_rel() {
|
||||||
export_release_vars "$PROFILE"
|
export_release_vars "$PROFILE"
|
||||||
mix release --overwrite
|
mix release --overwrite
|
||||||
|
assert_no_compile_time_only_deps
|
||||||
}
|
}
|
||||||
|
|
||||||
## extract previous version .tar.gz files to _build/$PROFILE/rel/emqx before making relup
|
## extract previous version .tar.gz files to _build/$PROFILE/rel/emqx before making relup
|
||||||
|
|
Loading…
Reference in New Issue