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

#245: Added a better analyzer pr job #246

Merged
merged 3 commits into from
Apr 7, 2022

Conversation

vanlooverenkoen
Copy link
Contributor

Fixed #245

@NicolaVerbeeck
Copy link
Contributor

Document this please

@@ -44,6 +44,12 @@ lane :pr do
installFvmVersion

Dir.chdir ".." do
## The analysis_options_all_files is used to check that all files can compile. even the once ignored in the original analysis_options.yaml
## We first check for full compilation. After that we check the rules of the original analysis_options.yaml
sh("mv", "analysis_options.yaml", "fastlane/analysis_options_original.yaml")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would have used separate methods to do the full analysis and the default analysis.
This makes your code a bit more readable without the need of comments.

@vanlooverenkoen vanlooverenkoen merged commit 8364cea into master Apr 7, 2022
@vanlooverenkoen vanlooverenkoen deleted the feature/#245-fastlane-analyze-fix branch April 7, 2022 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update fastlane to also check .g.dart files in analyze
4 participants