Sha256: bd4cd5f51f1a2d7a2cbfac57c7b6f914c3e86ea578113ae4e1bb30541bb65b70

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "gem_publisher"

RSpec::Core::RakeTask.new(:spec)

task default: %i(spec lint)

desc "Publish gem to RubyGems"
task :publish_gem do |_t|
  published_gem = GemPublisher.publish_if_updated("govuk_navigation_helpers.gemspec", :rubygems)
  puts "Published #{published_gem}" if published_gem
end

desc "Run govuk-lint with similar params to CI"
task "lint" do
  sh "bundle exec govuk-lint-ruby --format clang"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
govuk_navigation_helpers-9.2.1 Rakefile
govuk_navigation_helpers-9.2.0 Rakefile
govuk_navigation_helpers-9.1.0 Rakefile
govuk_navigation_helpers-9.0.0 Rakefile