Fix build
This commit is contained in:
parent
d332169bcc
commit
922c97c6c2
2 changed files with 7 additions and 4 deletions
|
@ -31,8 +31,8 @@ if [ -f "$APP_FILE" ]; then
|
|||
rm "$APP_FILE"
|
||||
fi
|
||||
|
||||
mix assets.deploy && \
|
||||
mix compile --force && \
|
||||
mix assets.deploy && \
|
||||
mix release --overwrite && \
|
||||
cd "_build/${MIX_TARGET}_${MIX_ENV}/rel/todo_app" && \
|
||||
cd "_build/${MIX_TARGET}_${MIX_ENV}/rel/android" && \
|
||||
zip -9r "$APP_FILE" lib/ releases/ --exclude "*.so"
|
||||
|
||||
|
|
|
@ -96,6 +96,9 @@ const char* startErlang(std::string root_dir, std::string log_dir)
|
|||
update_dir = root_dir + "update";
|
||||
}
|
||||
|
||||
setenv("RELEASE_SYS_CONFIG", config_path.c_str(), 1);
|
||||
setenv("RELEASE_ROOT", root_dir.c_str(), 1);
|
||||
|
||||
const char *args[] = {
|
||||
"test_main",
|
||||
"-sbwt",
|
||||
|
@ -134,7 +137,7 @@ const char* startErlang(std::string root_dir, std::string log_dir)
|
|||
"elixir",
|
||||
"start_cli",
|
||||
"-mode",
|
||||
"interactive",
|
||||
"embedded",
|
||||
"-config",
|
||||
config_path.c_str(),
|
||||
"-boot",
|
||||
|
|
Loading…
Reference in a new issue