Sha256: 9d976046da6a7a79b7b17eb9d43b7f8b6fc113332eab1b3a720d4defcba98a71
Contents?: true
Size: 751 Bytes
Versions: 1
Compression:
Stored size: 751 Bytes
Contents
require 'rake/testtask' task default: :build desc 'Builds the Gem.' task build: :format task build: :self_check task build: :test do sh 'gem build gherkin_lint.gemspec' end desc 'Publishes the Gem' task :push do sh 'gem push gherkin_lint-0.1.1.gem' end desc 'Checks ruby style' task :rubocop do sh 'rubocop' end task test: :rubocop task test: :language task :test do sh 'cucumber --tags ~@skip' end task :format do options = [] options.push '--replace' if ENV['repair'] sh "gherkin_format #{options.join ' '} features/*.feature" end task :language do # TODO: sh 'gherkin_language features/*.feature' end task :self_check do sh 'RUBYLIB=lib ./bin/gherkin_lint --disable UnknownVariable,BadScenarioName features/*.feature' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gherkin_lint-0.1.1 | Rakefile |