All checks were successful
Gajumaru Bytecode Tests / tests (push) Successful in -3m36s
Reviewed-on: #237 Co-authored-by: Craig Everett <zxq9@zxq9.com> Co-committed-by: Craig Everett <zxq9@zxq9.com>
60 lines
2.1 KiB
Erlang
60 lines
2.1 KiB
Erlang
%% -*- mode: erlang; indent-tabs-mode: nil -*-
|
|
|
|
{minimum_otp_vsn, "20.1"}.
|
|
|
|
{erl_opts, [debug_info]}.
|
|
|
|
{deps, [ {eblake2, "1.0.0"}
|
|
, {gmserialization, {git, "https://git.qpq.swiss/QPQ-AG/gmserialization.git",
|
|
{ref, "9d2ecc00d32ea295309563e54a81636ecb597e96"}}}
|
|
, {getopt, "1.0.1"}
|
|
]}.
|
|
|
|
{escript_incl_apps, [gmbytecode, eblake2, gmserialization, getopt]}.
|
|
{escript_main_app, gmbytecode}.
|
|
{escript_name, gmfateasm}.
|
|
{escript_emu_args, "%%!"}.
|
|
|
|
{pre_hooks,
|
|
[{"(linux|darwin|solaris|win32)", compile, "make sources"},
|
|
{"(freebsd)", compile, "gmake sources"}]}.
|
|
|
|
{provider_hooks, [{post, [{compile, escriptize}]}]}.
|
|
|
|
|
|
{dialyzer, [
|
|
{warnings, [unknown]},
|
|
{plt_apps, all_deps},
|
|
{base_plt_apps, [erts, kernel, stdlib, crypto, getopt]}
|
|
]}.
|
|
|
|
|
|
{relx, [{release, {gmbytecode, "3.4.1"},
|
|
[gmbytecode, eblake2, getopt]},
|
|
|
|
{dev_mode, true},
|
|
{include_erts, false},
|
|
|
|
{extended_start_script, true}]}.
|
|
|
|
{profiles, [{binary, [
|
|
{deps, [ {eblake2, "1.0.0"}
|
|
, {gmserialization, {git, "https://git.qpq.swiss/QPQ-AG/gmserialization.git",
|
|
{ref, "9d2ecc00d32ea295309563e54a81636ecb597e96"}}}
|
|
, {getopt, "1.0.1"}
|
|
]},
|
|
|
|
{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
|
|
escriptize,
|
|
"cp \"$REBAR_BUILD_DIR/bin/gmfateasm\" ./gmfateasm"},
|
|
{"win32",
|
|
escriptize,
|
|
"robocopy \"%REBAR_BUILD_DIR%/bin/\" ./ gmfateasm* "
|
|
"/njs /njh /nfl /ndl & exit /b 0"} % silence things
|
|
]}
|
|
]},
|
|
{eqc, [{erl_opts, [{parse_transform, eqc_cover}, {d, 'EQC'}]},
|
|
{extra_src_dirs, ["quickcheck"]} %% May not be called eqc!
|
|
]}
|
|
]}.
|