Skip to content

Instantly share code, notes, and snippets.

View Earlopain's full-sized avatar
🦊

Earlopain

🦊
  • 04:57 (UTC +02:00)
View GitHub Profile
# frozen_string_literal: true
namespace :rubocop do
desc "Ensure there's a local copy of rubocop"
file "tmp/rubocop" do
sh "git clone --depth=1 https://github.com/rubocop/rubocop tmp/rubocop"
end
desc "Ensure we have a fixtures directory for the rubocop tests"
file "test/prism/fixtures/rubocop" do