-
Notifications
You must be signed in to change notification settings - Fork 257
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
Bug: -d directory contains magefiles directory does not work #447
Labels
Comments
Ahh interesting point, yeah, -d should be smart enough to figure out if you have a magefiles directory or not, and use that if it's there. |
I tryed to fix it by PR #448. Please review it. |
perrito666
pushed a commit
to turutcrane/mage
that referenced
this issue
Feb 23, 2023
Thank you @turutcrane for the fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
-d directory contains magefiles directory does not work
What did you do?
$ mage -d DIR target
DIR contains magefiles directory.
What did you expect to happen?
Execute target in DIR/magefiles.
What actually happened?
mage stop with "No .go files marked with the mage build tag in this directory."
Environment
Mage Version:
Mage Build Tool v1.14.0
Build Date: 2022-11-04T21:23:44+09:00
Commit: 300bbc8
built with: go1.19.2
OS: windows msys2 / linux (WSL2)
Additional context
None
The text was updated successfully, but these errors were encountered: