From f12f349c2cb208a293ffbb2fb38d7ea32aa39828 Mon Sep 17 00:00:00 2001 From: Winford Date: Wed, 20 Dec 2023 12:05:58 -0800 Subject: [PATCH] Fix new atomvm_app name in rebar.config Fixes the rebar.config template file for new applications created with `rebar3 atomvm new atomvm_app ${{name}}` to insert the newly created application name in the rebar.config file for the appliction, rather than always using `myapp` for the application name. Signed-off-by: Winford --- priv/rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/rebar.config b/priv/rebar.config index 4b2c8da..b3519e3 100644 --- a/priv/rebar.config +++ b/priv/rebar.config @@ -21,5 +21,5 @@ atomvm_rebar3_plugin ]}. {atomvm_rebar3_plugin, [ - {packbeam, [{start, myapp}, prune]} + {packbeam, [{start, {{name}}}, prune]} ]}.