Skip to content

Commit e6fca1e

Browse files
authored
Merge pull request #109 from hiroyuki-sato/topic/exclude-example
When generating gem excludes example directory.
2 parents 1052bdf + 0ef8670 commit e6fca1e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

embulk-output-bigquery.gemspec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ Gem::Specification.new do |spec|
88
spec.licenses = ["MIT"]
99
spec.homepage = "https://github.com/embulk/embulk-output-bigquery"
1010

11-
spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"]
11+
# Exclude example directory for generating gem.
12+
# example dir use symlink.
13+
# It doesn't work properly on the Windows platform without administrator
14+
# privilege.
15+
spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"] -
16+
Dir["example/*" ]
1217
spec.test_files = spec.files.grep(%r{^(test|spec)/})
1318
spec.require_paths = ["lib"]
1419

0 commit comments

Comments
 (0)