1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-05 11:18:50 +01:00
choosealicense.com/script/downcase
2016-02-08 15:37:19 -05:00

8 lines
204 B
Ruby
Executable File

#! /usr/bin/env ruby
# downcases all licenses in a git-friendly way
Dir['_licenses/*'].each do |file|
system "git mv #{file} #{file.downcase}2"
system "git mv #{file.downcase}2 #{file.downcase}"
end