Sha256: e415b765b9b84f06ebc7079eb1a7c20295134fb2677ea63fe9cad782b18ba2f4

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"

require "rake/clean"
CLEAN.include("**/*.o", "**/*.so", "**/*.bundle", "pkg", "tmp")

require "rake/extensiontask"
%w[precomputed ref10].each do |provider|
  next if provider == "precomputed" && RUBY_PLATFORM =~ /arm64-darwin/

  Rake::ExtensionTask.new("x25519_#{provider}") do |ext|
    ext.ext_dir = "ext/x25519_#{provider}"
  end
end

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new

require "rubocop/rake_task"
RuboCop::RakeTask.new

task default: %w[compile spec rubocop]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
x25519-1.0.10 Rakefile