Sha256: 3c0ee3cda13a49aca52dbeec2f6f61c059f1834db8c8fb133cf24a05b83448e7

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"
require "rubygems/package_task"

rcee_packaged_source_spec = Bundler.load_gemspec("rcee_packaged_source.gemspec")
Gem::PackageTask.new(rcee_packaged_source_spec).define

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

require "rake/extensiontask"

task build: :compile

Rake::ExtensionTask.new("packaged_source") do |ext|
  ext.lib_dir = "lib/rcee/packaged_source"
end

task default: %i[clobber compile test]

CLEAN.add("{ext,lib}/**/*.{o,so}")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rcee_packaged_source-0.1.0 Rakefile