Don't include test files within gem package
This commit is contained in:
parent
bab940332c
commit
d6f4eef698
|
@ -55,6 +55,7 @@ Gem::Specification.new do |s|
|
|||
all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
|
||||
all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
|
||||
all_files.reject! { |file| file.start_with?("website/") }
|
||||
all_files.reject! { |file| file.start_with?("test/") }
|
||||
gitignore_path = File.join(root_path, ".gitignore")
|
||||
gitignore = File.readlines(gitignore_path)
|
||||
gitignore.map! { |line| line.chomp.strip }
|
||||
|
|
Loading…
Reference in New Issue