You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After mix archive.installing mix_generator and mix_templates (and then installing the project template via mix template.install), running mix gen project myapp results in this error:
[aseigo@localhost src]$ mix gen project foo
** (UndefinedFunctionError) function MixTemplates.Specs.accumulate_specs/1 is undefined or private. Did you mean one of:
def accumulate_specs(template, base_option_specs) do
but in build_options(template, args) in lib/mix/tasks/gen.ex there is:
specs = Specs.accumulate_specs(template)
.... not sure if you want to provide a default for base_option_specs or pass in an empty list from build_options (otherwise I'd throw you a one-liner patch :)
The text was updated successfully, but these errors were encountered:
After
mix archive.install
ing mix_generator and mix_templates (and then installing the project template viamix template.install
), runningmix gen project myapp
results in this error:[aseigo@localhost src]$ mix gen project foo
** (UndefinedFunctionError) function MixTemplates.Specs.accumulate_specs/1 is undefined or private. Did you mean one of:
And indeed, in MixTemplates.Specs we see:
def accumulate_specs(template, base_option_specs) do
but in build_options(template, args) in lib/mix/tasks/gen.ex there is:
specs = Specs.accumulate_specs(template)
.... not sure if you want to provide a default for base_option_specs or pass in an empty list from build_options (otherwise I'd throw you a one-liner patch :)
The text was updated successfully, but these errors were encountered: