File: Rakefile

package info (click to toggle)
ruby-oj-introspect 0.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 164 kB
  • sloc: ansic: 193; ruby: 63; makefile: 7; sh: 4
file content (12 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rake/extensiontask"

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

task default: [:compile, :spec]

Rake::ExtensionTask.new "oj-introspect" do |ext|
  ext.name = "introspect_ext"
  ext.lib_dir = "lib/oj/introspect"
end