SHELL_DEPS = kjell
From c807880f7ac73f813b2660ea81a00f7712a4e793 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?=
make shell
command is called.
For example, if you want to use kjell as your shell:
SHELL_DEPS = kjell
Dependencies are downloaded and compiled the first time you
run the make shell
command.
You can customize the executable used to start the Erlang shell.
@@ -90,26 +86,14 @@ To continue with our example, if you want to use kjell as your
shell, you also need to change SHELL_ERL
and point it to the
kjell
executable:
SHELL_ERL = $(DEPS_DIR)/kjell/bin/kjell
You can specify additional options to be used when starting the
shell using the SHELL_OPTS
variable:
SHELL_OPTS = -setcookie chocolate
Any of the usual erl
options can be used, including -eval
:
SHELL_OPTS = -eval 'my_app:run()'