Sha256: 1ead42b4d3f41d20f763f5a320e1f5026525d0b408ac18ece0feac939b45a209

Contents?: true

Size: 691 Bytes

Versions: 7

Compression:

Stored size: 691 Bytes

Contents

require "bundler"
Bundler.setup
Bundler::GemHelper.install_tasks

require "rake"

require "rspec/core/rake_task"
require "rspec/core/version"

desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.ruby_opts = %w[-w]
end

task :default => [:spec]

task :verify_private_key_present do
  private_key = File.expand_path('~/.gem/rspec-gem-private_key.pem')
  unless File.exist?(private_key)
    raise "Your private key is not present. This gem should not be built without that."
  end
end

task :build => :verify_private_key_present

require 'rubocop/rake_task'
desc 'Run RuboCop on the lib directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb']
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opal-rspec-0.8.0 rspec-support/upstream/Rakefile
opal-rspec-0.8.0.alpha3 rspec-support/upstream/Rakefile
opal-rspec-0.8.0.alpha2 rspec-support/upstream/Rakefile
opal-rspec-0.8.0.alpha1 rspec-support/upstream/Rakefile
opal-rspec-0.7.1 rspec-support/upstream/Rakefile
opal-rspec-0.7.0 rspec-support/upstream/Rakefile
opal-rspec-0.7.0.rc.2 rspec-support/upstream/Rakefile