Skip to content

[Fixes #246] Don't run file tasks needlessly (2nd attempt)#257

Open
grzuy wants to merge 3 commits into
ruby:masterfrom
grzuy:fix_file_prerequisites-option_2
Open

[Fixes #246] Don't run file tasks needlessly (2nd attempt)#257
grzuy wants to merge 3 commits into
ruby:masterfrom
grzuy:fix_file_prerequisites-option_2

Conversation

@grzuy

@grzuy grzuy commented Feb 22, 2018

Copy link
Copy Markdown
Contributor

Second attempt at fixing #246.

@grzuy grzuy changed the title [Fixes #246] Don't run file tasks needlessly Feb 22, 2018
@grzuy

grzuy commented Mar 27, 2018

Copy link
Copy Markdown
Contributor Author

I solved conflicts with master and updated this PR.

@grzuy

grzuy commented Apr 4, 2018

Copy link
Copy Markdown
Contributor Author

Code Climate is showing an issue to fix, apparently because one of the lib/rake/task.rb method became "too large" because of a couple of lines added as part of this PR.

@rake-maintainers How do you handle these cases? Should I attempt to fix the issue as part of this PR? Or you handle those refactors as separate PRs? I checked Code Climate issue and I already had some ideas on how to refactor, but wanted to ask first given it might end up being not a simple refactor.

Thank you.

Comment thread lib/rake/file_task.rb
prereq_task.timestamp > stamp
end
}
prerequisite_tasks.any? { |task| task.timestamp > stamp }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You’re removing functionality here like the rake --build-all flag and application scoping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants