Sha256: 931457404e3149c57fb33ff3d87475ff1c002c5caf36348c95fd03497ae1a81a
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rake/testtask' require 'rake/extensiontask' ROOT = File.expand_path(__dir__) Rake::TestTask.new do |t| t.libs << 'test' t.pattern = 'test/test_*.rb' end Rake::ExtensionTask.new 'ipconverter' do |ext| ext.lib_dir = File.join %w[lib ipconverter] end task default: %i[compile test] desc "Run benchmarks" task benchmark: [:compile] do sh "ruby #{ROOT}/benchmark/str_to_int.rb" sh "ruby #{ROOT}/benchmark/int_to_str.rb" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ipconverter-0.4.0 | Rakefile |