Sha256: cf439a1500c51a5bbfdc5162636f30d703beb28c8ac5db7056ffd633e22d32a6

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/**/test_*.rb']
end

file("constdefs.h") do
  `ruby ext/etc/mkconstants.rb -o ext/etc/constdefs.h`
end

require "rake/extensiontask"
Rake::ExtensionTask.new("etc")
task :compile => "constdefs.h".to_sym

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
etc-1.0.0 Rakefile
etc-0.2.1 Rakefile