Init with c ext

This commit is contained in:
2025-03-14 17:46:02 +00:00
commit d47b8ca684
21 changed files with 414 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# frozen_string_literal: true
require "bundler/gem_tasks"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
require "standard/rake"
require "rake/extensiontask"
task build: :compile
GEMSPEC = Gem::Specification.load("mcp.gemspec")
Rake::ExtensionTask.new("mcp", GEMSPEC) do |ext|
ext.lib_dir = "lib/mcp"
end
task default: %i[clobber compile spec standard]