Sha256: bf35be5d69c6eb552ec3f5e9a9026d6935d43d320aed9189d65066ae293c0b55

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/clean"

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

require "rake/extensiontask"
Rake::ExtensionTask.new("x25519_ref10") do |ext|
  ext.ext_dir = "ext/x25519_ref10"
end

# unless ARGV.include? '--disable-preccomputed'
#   Rake::ExtensionTask.new("x25519_precomputed") do |ext|
#     ext.ext_dir = "ext/x25519_precomputed"
#   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-termux-1.1.0 Rakefile