Skip to content

Commit 9cd3a46

Browse files
committed
fix permission fixing code to only apply to published lib code
1 parent 5a03878 commit 9cd3a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Bundler::GemHelper.install_tasks
77
# See https://github.com/simplecov-ruby/simplecov/issues/171
88
desc "Set permissions on all files so they are compatible with both user-local and system-wide installs"
99
task :fix_permissions do
10-
system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
10+
system 'bash -c "find lib/ -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
1111
end
1212
# Enforce proper permissions on each build
1313
Rake::Task[:build].prerequisites.unshift :fix_permissions

0 commit comments

Comments
 (0)