When I create a new component or module for Joomla, most of the development is done with the component / module already installed inside the CMS framework
- administrator
- cache
- components
- com_component*
- <arquivos do componente>
- help
- includes
- language
- logs
- manifests
- modules
- templates
- bin
- cache
- cli
- components
- com_component*
- <arquivos do componente>
- images
- includes
- installation
- language
- layouts
- libraries
- media
- modules
- plugins
- templates
- tmp
My question is how to version the project files within the Joomla framework.
If I use .gitignore
to ignore ALL other Joomla files, my repository looks like this:
- administrator
- components
- com_component*
- <arquivos do componente>
- components
- com_component*
- <arquivos do componente>
But I would like it to have the structure of a Joomla component ready to be installed, something like:
- admin
- <arquivos do componente>
- site
- <arquivos do componente>
- manifest.xml