Since this won't even run with Drush right now I've gone ahead and set the priority of this issue to critical. I downloaded the entire module into ~/.drush and cleared my drush cache. I get the following error when running drush mb.
Error: Call to undefined function ModuleBuilder\Environment\module_builder_module_builder_info() in
/Users/les.peabody/.drush/module_builder/Environment/Environment.php, line 638
I did a search through the codebase and module_builder_module_builder_info is not defined anywhere. So, I think there has been some refactoring happening to account for Drupal 8 or something, because I'm seeing references to \Drupal in some places, even though this is a 7.x release. I'd attempt to patch but seeing D8 references in places makes me think there is some cross-contamination that has happened between branches, so I wouldn't even know where to start addressing the issue.
Using drush-7.0.0-rc1 and module-builder-7.x-2.x-dev, released Nov 21st, 2015.
Comments
Comment #2
lpeabody commentedComment #3
joachim commentedAh, yes, looks like I missed something when I removed our implementation of that hook.
It is still working for me on Drush though. Do you have this installed as a Drupal module, as well as in Drush as a Drush command?
> I'd attempt to patch but seeing D8 references in places makes me think there is some cross-contamination that has happened between branches
It's a bit fiddly, but the core of MB is independent of Drupal core version. It can generate code for 6/7/8 and in fact possibly even still 5 too.
The files that provide a Drupal module with a web UI *are* version-dependent, and currently there is no D8 version of those.
Comment #4
joachim commentedAt any rate, I've just removed the offending code, so should be all fine now.
Thanks for reporting!