Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

make: `Source/SwiftLintFramework/Models/MasterRuleList.swift' is up to date #3018

Closed
2 tasks done
iliaskarim opened this issue Jan 6, 2020 · 1 comment
Closed
2 tasks done
Labels
bug Unexpected and reproducible misbehavior. wontfix Issues that became stale and were auto-closed by a bot.

Comments

@iliaskarim
Copy link

iliaskarim commented Jan 6, 2020

New Issue Checklist

Describe the bug

After adding a rule file to the SwiftlintFramework target, the build phase does not automatically add it to the master rules list using Sourcery. The output reads, make: `Source/SwiftLintFramework/Models/MasterRuleList.swift' is up to date.

Actually running the make commands themselves does in fact add the rule to the list. I.e.

sourcery --sources Source/SwiftLintFramework/Rules --templates .sourcery/MasterRuleList.stencil --output .sourcery
mv .sourcery/MasterRuleList.generated.swift Source/SwiftLintFramework/Models/MasterRuleList.swift
Complete output when running SwiftLint, including the stack trace and command used

N/A

Environment

  • SwiftLint version (run swiftlint version to be sure)?
    Latest commit, 601ea39, Merge pull request Add new indentation_width rule #2765 from fredpi/feature/indentation_width

  • Installation method used (Homebrew, CocoaPods, building from source, etc)?
    Git

  • Paste your configuration file:
    N/A

  • Are you using nested configurations?
    No

  • Which Xcode version are you using (check xcodebuild -version)?
    11.3

  • Do you have a sample that shows the issue? Run echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
    to quickly test if your example is really demonstrating the issue. If your example is more
    complex, you can use swiftlint lint --path [file here] --no-cache --enable-all-rules.
    N/A

@jpsim jpsim added the bug Unexpected and reproducible misbehavior. label Jan 6, 2020
@stale
Copy link

stale bot commented Nov 8, 2020

This issue has been automatically marked as stale because it has not had any recent activity. Please comment to prevent this issue from being closed. Thank you for your contributions!

@stale stale bot added the wontfix Issues that became stale and were auto-closed by a bot. label Nov 8, 2020
@stale stale bot closed this as completed Nov 15, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Unexpected and reproducible misbehavior. wontfix Issues that became stale and were auto-closed by a bot.
Projects
None yet
Development

No branches or pull requests

2 participants