https://github.com/michaeljones/mix-reorganize
A mix task to reorganise files into 'domain' folders
https://github.com/michaeljones/mix-reorganize
elixir mix-task
Last synced: 20 days ago
JSON representation
A mix task to reorganise files into 'domain' folders
- Host: GitHub
- URL: https://github.com/michaeljones/mix-reorganize
- Owner: michaeljones
- Created: 2020-04-02T18:41:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-02T18:43:49.000Z (about 6 years ago)
- Last Synced: 2026-04-24T04:38:01.612Z (about 2 months ago)
- Topics: elixir, mix-task
- Language: Elixir
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.contact-stack.com).