Sha256: e020024b544f8c8e2aea2e3ff5aa5cf731217f453dd29aa9e2b331e3e44808c7
Contents?: true
Size: 405 Bytes
Versions: 4
Compression:
Stored size: 405 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' files = `git status`.split("\n") .map(&:strip) .select{ |line| line.start_with? 'modified: '} .map{ |line| line.delete_prefix 'modified:' } .map(&:strip) .select{ |line| line.start_with? 'vendor/' } .map{ |file| Pathname.new(file) } files.each do |file| content = file.read file.write(content.encode(content.encoding, universal_newline: true)) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ext_yarn-0.4.0 | bin/yarn_after |
ext_yarn-0.3.1 | bin/yarn_after |
ext_yarn-0.3.0 | bin/yarn_after |
ext_yarn-0.2.0 | bin/yarn_after |