Skip to content

Commit bc8d55c

Browse files
gemify build support library
1 parent 770c5cf commit bc8d55c

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

lib/ruby_wasm/version.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module RubyWasm
2+
VERSION = "0.3.0"
3+
end

ruby_wasm.gemspec

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# frozen_string_literal: true
2+
3+
require_relative "lib/ruby_wasm/version"
4+
5+
Gem::Specification.new do |spec|
6+
spec.name = "ruby_wasm"
7+
spec.version = RubyWasm::VERSION
8+
spec.authors = ["Yuta Saito"]
9+
spec.email = ["[email protected]"]
10+
11+
spec.summary = "Tools for building ruby.wasm"
12+
spec.description = "Tools for building ruby.wasm"
13+
spec.homepage = "https://github.com/ruby/ruby.wasm"
14+
spec.license = "MIT"
15+
spec.required_ruby_version = ">= 2.6.0"
16+
17+
spec.metadata["homepage_uri"] = spec.homepage
18+
spec.metadata["source_code_uri"] = spec.homepage
19+
20+
# Specify which files should be added to the gem when it is released.
21+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22+
spec.files = Dir.chdir(__dir__) do
23+
`git ls-files -z`.split("\x0").reject do |f|
24+
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25+
end
26+
end
27+
spec.bindir = "exe"
28+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29+
spec.require_paths = ["lib"]
30+
end

0 commit comments

Comments
 (0)