Skip to content

Commit 2c0c949

Browse files
authored
Remove example from gem bundle (#394)
* update dependencies * exclude the example app when packaging the gem * avoid using grep so it can work on windows machines
1 parent eea9a63 commit 2c0c949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

omniauth-facebook.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
1111
s.homepage = 'https://github.com/simi/omniauth-facebook'
1212
s.license = 'MIT'
1313

14-
s.files = `git ls-files`.split("\n")
14+
s.files = `git ls-files`.split("\n").reject { |path| path.start_with? "example/" }
1515
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
1616
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
1717
s.require_paths = ['lib']

0 commit comments

Comments
 (0)