Current section

Files

Jump to
grisp_connect rebar.config
Raw

rebar.config

{erl_opts, [debug_info]}.
{deps, [
jsx,
jarl,
{grisp, "~> 2.7"},
{grisp_cryptoauth, "~> 2.4"},
{certifi, "2.13.0"}
]}.
{plugins, [rebar3_grisp, rebar3_ex_doc]}.
{grisp, [
{otp, [
{version, "27"}
]},
{deploy, [
{pre_script, "rm -rf /Volumes/GRISP/*"},
{destination, "/Volumes/GRISP"},
{post_script, "diskutil unmount /Volumes/GRISP"}
]}
]}.
{hex, [{doc, #{provider => ex_doc}}]}.
{edoc_opts, [{preprocess, true}]}.
{ex_doc, [
{extras, [
{"CHANGELOG.md", #{title => "Changelog"}},
{"README.md", #{title => "Overview"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{homepage_url, "https://github.com/grisp/grisp_connect"},
{source_url, "https://github.com/grisp/grisp_connect"},
{api_reference, true}
]}.
{profiles, [
{prod, [
{relx, [
{release, {grisp_connect, semver}, [grisp_connect]},
{sys_config, "config/sys.config"}
]}
]},
{dev, [
{relx, [
{release, {grisp_connect, semver}, [grisp_connect]},
{sys_config, "config/dev.config"}
]}
]},
{local, [
{deps, [
{grisp_emulation, "0.2.2"},
{grisp_updater_grisp2, {git, "https://github.com/grisp/grisp_updater_grisp2.git", {branch, "main"}}}
]},
{overrides, [
{add, grisp_cryptoauth, [{erl_opts, [{d, 'EMULATE_CRYPTOAUTH'}]}]}
]},
{shell, [
{apps, [grisp_emulation, grisp_updater_grisp2, grisp_connect]},
{config, "./config/local.config"}
]}
]},
{test, [
{deps, [
meck,
{grisp_emulation, "0.2.2"},
{cowboy, "2.12.0"}
]},
{overrides, [
{add, eresu, [{erl_opts, [{d, 'TEST'}]}]},
{add, grisp_cryptoauth, [{erl_opts, [{d, 'EMULATE_CRYPTOAUTH'}]}]}
]},
{ct_opts, [{sys_config, "./config/test.config"}]}
]},
{docs,[
{deps, [
{grisp_emulation, "0.2.2"}
]},
{overrides, [
{add, grisp, [{erl_opts, [
{d, 'GRISP_HRL'},
{d, 'EMULATION_BACKEND', {grisp2, grisp_emulation}}
]}
]}
]}
]}
]}.