Skip to content

Commit

Permalink
Rakefile: external tests: Rename our RuboCop YAML
Browse files Browse the repository at this point in the history
  - this allows the other projects to run their own YAML configurations
    in separation
  • Loading branch information
olleolleolle authored and ioquatix committed May 25, 2020
1 parent 4db9d29 commit c853819
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Expand Up @@ -145,6 +145,9 @@ def clone_and_test(url, name, command)
end

task :external do
# In order not to interfere with external tests: rename our config file
FileUtils.mv ".rubocop.yml", ".rack.rubocop.yml.disabled"

Bundler.with_clean_env do
clone_and_test("https://github.com/kickstarter/rack-attack", "rack-attack", "bundle exec rake")
clone_and_test("https://github.com/rtomayko/rack-cache", "rack-cache", "bundle exec rake")
Expand Down

0 comments on commit c853819

Please sign in to comment.