Jon W
Well-known member
- Affected version
- 2.0.10
If I'm developing an add-on with someone else and sharing my _output folder in a git repository or similar, there is currently no way for me to indicate that I have removed all items of a type (e.g. all admin navigation items), and I am forced to leave a dummy item behind.
If I have an add-on in developer mode and I delete one of the folders in my _output folder and then run:
I would expect the add-on content in the folder I just deleted to be removed from my add-on.
However, when I then run:
it magically comes back again.
Is this intentional?
If so, would it be possible to create a way to achieve what I want to achieve. For example, if instead of deleting the folder I remove everything in it and put an empty (except for
If I have an add-on in developer mode and I delete one of the folders in my _output folder and then run:
Bash:
php cmd.php xf-dev:import --addon
However, when I then run:
Bash:
php cmd.php xf-dev:export --addon
Is this intentional?
If so, would it be possible to create a way to achieve what I want to achieve. For example, if instead of deleting the folder I remove everything in it and put an empty (except for
{}
) _metadata.json file, the same thing still happens.