Sha256: 7b31af925fefd6f6a509f2b85df53bed0bf3c89c105bc596fbb03b23562a7703

Contents?: true

Size: 313 Bytes

Versions: 25

Compression:

Stored size: 313 Bytes

Contents

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

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

load "jasmine/tasks/jasmine.rake"

desc "Lint Ruby and JavaScript"
task :lint do
  sh "rubocop example lib spec Rakefile"
  sh "npm run lint --silent"
end

task default: ["lint", "spec", "jasmine:ci"]

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
govuk_tech_docs-4.1.1 Rakefile
govuk_tech_docs-4.1.0 Rakefile
govuk_tech_docs-4.0.0 Rakefile
govuk_tech_docs-3.5.0 Rakefile
govuk_tech_docs-3.4.5 Rakefile
govuk_tech_docs-3.4.0 Rakefile
govuk_tech_docs-3.3.1 Rakefile
govuk_tech_docs-3.3.0 Rakefile
govuk_tech_docs-3.2.1 Rakefile
govuk_tech_docs-3.2.0 Rakefile
govuk_tech_docs-3.1.0 Rakefile
govuk_tech_docs-3.0.1 Rakefile
govuk_tech_docs-3.0.0 Rakefile
govuk_tech_docs-2.4.3 Rakefile
govuk_tech_docs-2.4.2 Rakefile
govuk_tech_docs-2.4.1 Rakefile
govuk_tech_docs-2.4.0 Rakefile
govuk_tech_docs-2.3.0 Rakefile
govuk_tech_docs-2.2.2 Rakefile
govuk_tech_docs-2.2.1 Rakefile