1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Shrink gem size and export only needed files to work (#742)

This commit is contained in:
Bruno Arueira 2022-10-07 03:31:17 -03:00 committed by GitHub
parent e0e36ed4df
commit d08f97cbe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,7 @@ Gem::Specification.new do |s|
# s.add_development_dependency 'debugger' # s.add_development_dependency 'debugger'
s.add_development_dependency 'pry' s.add_development_dependency 'pry'
s.files = `git ls-files`.split("\n") s.files = Dir['lib/**/*', 'README.md', 'LICENSE']
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"] s.require_paths = ["lib"]
end end