joomla-extensions / weblinks

This repo is meant to hold the decoupled com_weblinks component and related code.
GNU General Public License v2.0
45 stars 88 forks source link

add Jorobo Map Task To RoboFile #374

Closed astridx closed 7 years ago

astridx commented 7 years ago

Summary of Changes

I added the function map to RoboFile, so that we can use the map task of JoRobo.

Testing Instructions

  1. Set up this repository like explained in the Read.me

  2. Use the command vendor/bin/robo map /var/www/html/weblinks/tests/joomla where /var/www/html/weblinks/tests/joomla is the path to your Joomla! installation.

  3. Go to backend of your Joomla! installation and discover new extensions. All weblink extensions should now be offered for discovern.

Note

I added the line <file module="mod_weblinks">mod_weblinks.php</file> into the manifest of the module, because otherwise we can not discover the module. Without this line you see the error message: Module JLIB_INSTALLER_discover_install: No module file specified.

yvesh commented 7 years ago

Thank you @astridx, merged it even with the additional line in the manifest, it is going to be duplicate after building isn't it? Never had discover issues without, weird.

astridx commented 7 years ago

Thank you @yvesh I have the problem with several modules and I have just tested it again with the yesterday active weblinks repo. With the new one I can discover without failure.

Am I the only one who sees this mistake?

@yvesh You are right that the module file is now twice in manifest after build. But since this is not a problem when installing I have chosen this dirty version.

If someone does not like this, please make a note here. In this case I like to delete the line again.

extensions discover test administration