1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-28 22:53:04 +02:00
choosealicense.com/script/downcase
2014-09-17 11:38:11 -04: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