summaryrefslogtreecommitdiff
path: root/lib/tracer.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tracer.gemspec')
-rw-r--r--lib/tracer.gemspec25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/tracer.gemspec b/lib/tracer.gemspec
new file mode 100644
index 0000000000..b84bcd9b56
--- /dev/null
+++ b/lib/tracer.gemspec
@@ -0,0 +1,25 @@
+require_relative "lib/tracer"
+
+Gem::Specification.new do |spec|
+ spec.name = "tracer"
+ spec.version = Tracer::VERSION
+ spec.authors = ["Keiju ISHITSUKA"]
+ spec.email = ["keiju@ruby-lang.org"]
+
+ spec.summary = %q{Outputs a source level execution trace of a Ruby program.}
+ spec.description = %q{Outputs a source level execution trace of a Ruby program.}
+ spec.homepage = "https://github.com/ruby/tracer"
+ spec.license = "BSD-2-Clause"
+
+ # Specify which files should be added to the gem when it is released.
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ end
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+
+ spec.add_development_dependency "bundler"
+ spec.add_development_dependency "rake"
+end