When a create a new Joomla component or module, the most part of coding and development is done inside the CMS structure, with the component already installed.
- 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 about how i version the project files inside this structure.
If i use .gitignore
to ignore ALL the other Joomla files, my git repository looks like:
- administrator
- components
- com_component
- <arquivos do componente>
- components
- com_component
- <arquivos do componente>
But i would like that my repository looks like a component ready to be installed (just zip and install it by joomla installer)
- admin
- <arquivos do componente>
- site
- <arquivos do componente>
- manifest.xml