Sha256: 742f546bad5c6d7ee074b8f18444882b756f9d89a59458a3febdb814c4aff9c7

Contents?: true

Size: 489 Bytes

Versions: 2

Compression:

Stored size: 489 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new do |t|
  t.rspec_opts = ["-c", "-f progress"]
  t.pattern = 'spec/**/*_spec.rb'
end

task :default => :spec

spec = Gem::Specification.load('websocket.gemspec')
if RUBY_PLATFORM =~ /java/
  require 'rake/javaextensiontask'
  Rake::JavaExtensionTask.new('websocket_native_ext', spec)
else
  require 'rake/extensiontask'
  Rake::ExtensionTask.new('websocket_native_ext', spec)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
websocket-native-1.0.0-java Rakefile
websocket-native-1.0.0 Rakefile