Sha256: ee2522d031dcaed55b830ecef6e6f44b1709f8c001b755ba33a44b4945b3038a
Contents?: true
Size: 448 Bytes
Versions: 52
Compression:
Stored size: 448 Bytes
Contents
desc 'remove-executable-flags', 'Remove executable-flags from files that should not be executable' def remove_executable_flags 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 ] for pattern in patterns note pattern `find . -name "#{pattern}" -exec chmod -x {} ';'` end puts 'Done.' end
Version data entries
52 entries across 52 versions & 1 rubygems