Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a configuration for relx that uses the rebar3 cuttlefish plugin for properly building the configurations required schema files.
Cuttlefish compilation is still preventing the node from starting because cuttlefish doesn't run
escript
using the application libraries. Therefore, any schema file that references a library inlib
-- for instance, the Riak KV files reference a function inriak_core_throttle
that is unavailable for cuttlefish unless the application libraries are loaded.Another issue here is that in the configuration that uses a
cd dirname $0 && /bin/pwd
to derive the release path. This is a problem because relx uses the escape functionality of mustache to conver this&&
to&
-- this is not a valid unix command. Since there is no known way to prevent this escaping of a literal, this has been replaced by a;
under the assumption that the directory change todirname $0
command will not fail.Before this can be merged, the following issue has to be addressed:
vernemq/rebar3_cuttlefish#35
cc: @martincox @martinsumner