Sha256: cb060b7c9a3ea795d4021d0527e8be15caad8daf568230f47255f408ed798177
Contents?: true
Size: 475 Bytes
Versions: 20
Compression:
Stored size: 475 Bytes
Contents
desc 'remove-executable-flags', 'Remove executable-flags from files that should not be executable' def remove_executable_flags Interaction.announce 'Removing executable-flags' patterns = %w[ *.rb *.html *.erb *.haml *.yml *.css *.sass *.rake *.png *.jpg *.gif *.pdf *.txt *.rdoc *.feature Rakefile VERSION README Capfile ] patterns.each do |pattern| Interaction.note pattern `find . -name "#{pattern}" -exec chmod -x {} ';'` end puts 'Done.' end
Version data entries
20 entries across 20 versions & 1 rubygems