Skip to content
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

Add magefiles directory support #405

Merged
merged 12 commits into from Mar 16, 2022

Commits on Feb 16, 2022

  1. Use magefolder if no directory set and it exists.

    If no directory was passed by the user as an explicit option and there is a folder named "magefolder" use that.
    
    Workdir is kept as it is likely still "."
    perrito666 committed Feb 16, 2022
    Copy the full SHA
    6456342 View commit details
    Browse the repository at this point in the history
  2. Remove the default . for -d flag

    Also correct os.Stat error checking to expect no error
    perrito666 committed Feb 16, 2022
    Copy the full SHA
    4408a54 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    4385834 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. Rename magefolder and accept untagged files

    Magefolder was renamed to magefiles
    We now accept files that are not tagged too when using a magefiles directory
    perrito666 committed Feb 17, 2022
    Copy the full SHA
    6a99d93 View commit details
    Browse the repository at this point in the history
  2. Assume tagging when mix tagging is present

    When using magefiles directory, if there are mixed tagging files assume tagging is used for mage files
    perrito666 committed Feb 17, 2022
    Copy the full SHA
    6e39f54 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Update error format to %v

    We support building for older go versions so error formatting should use %v
    perrito666 committed Feb 21, 2022
    Copy the full SHA
    b68587f View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. sort outputs

    natefinch committed Mar 11, 2022
    Copy the full SHA
    3ab41f0 View commit details
    Browse the repository at this point in the history
  2. Accept mixed tagging in magefiles folder

    When mixed tagging is found within a magefiles folder, opt to use all files
    perrito666 committed Mar 11, 2022
    Copy the full SHA
    1c2ef11 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c9f018d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ec2df47 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    9d3561e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2022

  1. Add a preference for mage files over directories

    Add a temporary preference for mage files over magefiles directories and warn users this is a temporary functionality leading to a change where directory will be preferred.
    perrito666 committed Mar 12, 2022
    Copy the full SHA
    00c7860 View commit details
    Browse the repository at this point in the history