Sha256: 93f0f796aba2d465d5ece99c1025737092dd020c728656ba5018d93eccefc482

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

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

import "ext/ffi/hydrogen/Rakefile"

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

desc "Compile shared library"
task :compile do
  Rake::Task[:compile_shared].invoke
end

desc "Run RuboCop"
task :rubocop do
  RuboCop::RakeTask.new
end

desc "Run all benchmarks"
task :bench do
  ruby "bench/both.rb"
  ruby "bench/encode.rb"
  ruby "bench/encrypt.rb"
end

task :default => [:compile, :rubocop, :spec]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffi-hydrogen-0.1.2 Rakefile