Skip to content

A mix task to reorganise files into 'domain' folders

Notifications You must be signed in to change notification settings

michaeljones/mix-reorganize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mix Reorganize

A mix task to reorganise the generated files from phoenix gen tasks into domain-style folders.

Instead of having:

  • lib/my_app_web/controllers/user_controller.ex
  • lib/my_app_web/views/user_view.ex

It moves them to:

  • lib/my_app_web/user/controller.ex
  • lib/my_app_web/user/view.ex

Status

It works but it is super basic. Lots of room for improvement.

Support

Developement of this project is supported by Contact Stack.

About

A mix task to reorganise files into 'domain' folders

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages