With the introduction of commit ce82efb1c626d5c4b344c3369cd991092920c0ea, the current instruction of
Make sure to add:
|> Code.eval_file(".elchemy.exs").init
to your mix.exs file as the last line of the project() function.
is no longer sufficient.
elchemy new myapp does not generate a :name atom in the project keyword list, so line 6 in the .elchemy.exs file if !project || !project[:name] do will always fail.
Some possible fixes:
The warning message should reflect that the project keyword list should contain a :name and the instructions updated
the requirement should be dropped
elchemy new myapp` should generate the :name
the value of :app turned into a string and added to the projects keyword list as :name in ElchemyInit.init function
With the introduction of commit ce82efb1c626d5c4b344c3369cd991092920c0ea, the current instruction of
is no longer sufficient.
elchemy new myapp
does not generate a :name atom in the project keyword list, so line 6 in the .elchemy.exs fileif !project || !project[:name] do
will always fail.Some possible fixes:
The warning message should reflect that the project keyword list should contain a :name and the instructions updated
the requirement should be dropped
elchemy new myapp` should generate the :name
the value of :app turned into a string and added to the projects keyword list as :name in ElchemyInit.init function