Sha256: 282e016204bbcdf4a034c715d772f521d95e694485d1ae8d4adf12c63337f66b

Contents?: true

Size: 1.12 KB

Versions: 15

Compression:

Stored size: 1.12 KB

Contents

#!/usr/bin/env ruby
# encoding: UTF-8

# (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
#
#    Licensed under the Apache License, Version 2.0 (the "License");
#    you may not use this file except in compliance with the License.
#    You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

$stdout.sync = true
$stderr.sync = true
Bundler::GemHelper.install_tasks

task :default => [:lint, :spec]

desc 'Run the specs.'
RSpec::Core::RakeTask.new do |t|
  t.pattern = 'spec/*_spec.rb'
  t.rspec_opts = '-f doc'
end

desc 'Run RuboCop on the project'
RuboCop::RakeTask.new(:lint) do |task|
  task.formatters = ['progress']
  task.verbose = true
  task.fail_on_error = true
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
forj-1.0.18 Rakefile
forj-1.0.17 Rakefile
forj-1.0.16 Rakefile
forj-1.0.15 Rakefile
forj-1.0.14 Rakefile
forj-1.0.13 Rakefile
forj-1.0.12 Rakefile
forj-1.0.11 Rakefile
forj-1.0.10 Rakefile
forj-1.0.9 Rakefile
forj-1.0.8 Rakefile
forj-1.0.7 Rakefile
forj-1.0.6 Rakefile
forj-1.0.5 Rakefile
forj-1.0.4 Rakefile