-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhxruby.gemspec
More file actions
36 lines (33 loc) · 1.23 KB
/
Copy pathhxruby.gemspec
File metadata and controls
36 lines (33 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require "json"
require_relative "lib/hxruby/generators/migration_parser_profile"
metadata = JSON.parse(File.read(File.expand_path("haxelib.json", __dir__)))
Gem::Specification.new do |spec|
spec.name = "hxruby"
spec.version = metadata.fetch("version")
spec.summary = "Runtime helpers for reflaxe.ruby generated output."
spec.description = "Runtime helpers and Rails rake tasks for Ruby code generated by the reflaxe.ruby Haxe target."
spec.authors = metadata.fetch("contributors")
spec.homepage = metadata.fetch("url")
spec.license = metadata.fetch("license")
spec.required_ruby_version = ">= 3.3"
spec.add_runtime_dependency "prism", "= #{HXRuby::Generators::MigrationParserProfile::PRISM_VERSION}"
spec.files = [
"haxelib.json",
"LICENSE",
"README.md",
"hxruby.gemspec",
*Dir["release-provenance.json"],
*Dir["artifact-manifest.json"],
*Dir["lib/**/*.rb"],
"lib/hxruby/support_matrix.json",
"lib/hxruby/stdlib_coverage.json",
*Dir["runtime/hxruby/**/*.rb"],
*Dir["scripts/rails/*.rb"],
*Dir["scripts/rbs/*.rb"],
*Dir["std/**/*.hx"],
*Dir["vendor/genes/src/**/*.hx"],
"vendor/genes/haxelib.json",
"vendor/genes/readme.md",
].sort
spec.require_paths = ["lib"]
end