Skip to content

Creating a project with kabob-case causes errors #4

@jamonholmgren

Description

@jamonholmgren

When using mix phoenix.new some-kabob-case, you'll get this error:

** (Mix) Application name must start with a letter and have only lowercase letters, numbers and underscore, got: "some-kabob-case". The application name is inferred from the path, if you'd like to explicitly name the application then use the `--app APP` option.

With Firebird, it creates the project anyway, which then screws up the project.

image

We should implement the same protections as Phoenix's generator (or push this upstream if it's an upstream problem).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions