Skip to content

Commit

Permalink
Include vendored dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed Oct 7, 2024
1 parent a7032d1 commit d949256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ruby_ast_gen (0.4.0)
ruby_ast_gen (0.5.0)

GEM
remote: https://rubygems.org/
Expand Down
7 changes: 1 addition & 6 deletions ruby_ast_gen.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ Gem::Specification.new do |spec|
# 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.
gemspec = File.basename(__FILE__)
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
ls.readlines("\x0", chomp: true).reject do |f|
(f == gemspec) ||
f.start_with?(*%w[bin/ vendor/ test/ spec/ features/ .git .github appveyor Gemfile])
end
end
spec.files = Dir.glob("{lib,exe,sig,vendor}/**/*") + %w[README.md LICENSE.txt Rakefile]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
Expand Down

0 comments on commit d949256

Please sign in to comment.