Skip to content

Commit

Permalink
Remove dev files from gem package
Browse files Browse the repository at this point in the history
  • Loading branch information
360dgries committed Oct 9, 2024
1 parent d588e38 commit 33917d8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions fhir_models.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ Gem::Specification.new do |spec|
spec.description = %q{A Gem for handling FHIR models in ruby}
spec.homepage = 'https://github.com/fhir-crucible/fhir_models'

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.files.reject! { |file| file =~ /lib\/fhir_models\/examples|lib\/fhir_models\/definitions\/schema|lib\/fhir_models\/definitions\/valuesets/}
spec.files.reject! { |file| file =~ /lib\/fhir_models\/igs\/hl7.fhir.r4.core\/package_supplement\/expansions.json/}
spec.files.reject! { |file| file =~ /lib\/fhir_models\/igs\/hl7.fhir.r4b.core\/package_supplement\/expansions.json/}
spec.files.reject! { |file| file =~ /lib\/fhir_models\/igs\/hl7.fhir.r5.core\/package_supplement\/expansions.json/}
spec.files = `git ls-files -z lib`.split("\x0")
spec.files.reject! { |file| file =~ /lib\/fhir_models\/examples|lib\/fhir_models\/definitions/}
spec.files.reject! { |file| file =~ /lib\/fhir_models\/igs\/hl7.fhir..*\.core\/package_supplement\/expansions.json/}
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
Expand Down

0 comments on commit 33917d8

Please sign in to comment.