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 Rubocop rake task #193

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Conversation

archanaserver
Copy link
Contributor

@archanaserver archanaserver commented Jan 16, 2024

For reference: #193 (comment)

The `APP_RAKEFILE` constant was previously used to specify the location
of a Rakefile in a test/dummy directory, but it is no longer needed.
@sbernhard sbernhard merged commit e40c7cf into theforeman:master Jan 18, 2024
3 of 4 checks passed
@ekohl ekohl changed the title Add Ruboocop rake task Add Rubocop rake task Jan 18, 2024
@archanaserver
Copy link
Contributor Author

Thanks @ekohl @sbernhard

@archanaserver archanaserver deleted the rubocop-rake branch January 19, 2024 23:47
@@ -20,9 +21,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('lib/**/*.rb')
end

APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
Copy link
Member

Choose a reason for hiding this comment

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

I came across https://guides.rubyonrails.org/engines.html#testing-an-engine and that's where it comes from.

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.

3 participants