-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discover RoboFile.php on directories above the current one #462
Comments
I don't know that it should search all the way up, but perhaps it could look in the repository root (via @DavertMik what do you think? |
Also it would be nice if it´s possible to create a global RoboFile.php which provides default functions for all directories regardless they have a RoboFile or not |
@greg-1-anderson thx |
You can see n98/magerun for an implementation in PHP. |
@amenk n98/magerun appears to not use Robo. Which part of it were you recommending as a useful example? Looking at your comment in #532 (comment), perhaps magerun In any event, a direct link to the parts of magerun that you think would be helpful here would be appreciated. |
I know magerun does not use robo. But it has a detection logic for the Magento root which might be useful for detecting the Robofile Root as well ... It just goes back in the file tree until Magento was found. In our case, Robo could go back up in the tree until a Robofile was found. Git does something similar. |
It would be nice to be able to install robo globally and then be able to launch robo command from any folder in your project and get the same lists of tasks
The text was updated successfully, but these errors were encountered: