Sha256: 543dface03155dfadfe4c1e60797c0cd4b9b1539d4598e915f2a037c8ea1f3eb

Contents?: true

Size: 637 Bytes

Versions: 98

Compression:

Stored size: 637 Bytes

Contents

# frozen_string_literal: true

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

Dir['tasks/**/*.rake'].each { |rake| load rake }

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

task spec: :compile
case RUBY_PLATFORM
when 'java'
  require 'rake/javaextensiontask'
  Rake::JavaExtensionTask.new 'murmurhash' do |ext|
    ext.lib_dir = 'lib/murmurhash'
    ext.target_version = '1.7'
    ext.source_version = '1.7'
  end
else
  require 'rake/extensiontask'
  Rake::ExtensionTask.new 'murmurhash' do |ext|
    ext.lib_dir = 'lib/murmurhash'
  end
end

task default: %i[spec rubocop]

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
splitclient-rb-8.4.0-java Rakefile
splitclient-rb-8.4.0 Rakefile
splitclient-rb-8.4.0.pre.rc1-java Rakefile
splitclient-rb-8.4.0.pre.rc1 Rakefile
splitclient-rb-8.4.0.rc.1-java Rakefile
splitclient-rb-8.4.0.rc.1 Rakefile
splitclient-rb-8.3.2.pre.rc2-java Rakefile
splitclient-rb-8.3.2.pre.rc2 Rakefile
splitclient-rb-8.3.2.pre.rc1-java Rakefile
splitclient-rb-8.3.2.pre.rc1 Rakefile
splitclient-rb-8.3.1-java Rakefile
splitclient-rb-8.3.1 Rakefile
splitclient-rb-8.3.1.pre.rc1-java Rakefile
splitclient-rb-8.3.1.pre.rc1 Rakefile
splitclient-rb-8.3.0-java Rakefile
splitclient-rb-8.3.0 Rakefile
splitclient-rb-8.3.0.pre.rc3-java Rakefile
splitclient-rb-8.3.0.pre.rc3 Rakefile
splitclient-rb-8.3.0.pre.rc2-java Rakefile
splitclient-rb-8.3.0.pre.rc2 Rakefile