Skip to content

Commit

Permalink
fix permission fixing code to only apply to published lib code
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Aug 16, 2020
1 parent 5a03878 commit 9cd3a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bundler::GemHelper.install_tasks
# See https://github.com/simplecov-ruby/simplecov/issues/171
desc "Set permissions on all files so they are compatible with both user-local and system-wide installs"
task :fix_permissions do
system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
system 'bash -c "find lib/ -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
end
# Enforce proper permissions on each build
Rake::Task[:build].prerequisites.unshift :fix_permissions
Expand Down

0 comments on commit 9cd3a46

Please # to comment.