1
0
mirror of https://github.com/github/choosealicense.com synced 2024-07-05 09:49:37 +02:00
choosealicense.com/script/downcase

8 lines
204 B
Plaintext
Raw Normal View History

2014-09-17 17:38:11 +02:00
#! /usr/bin/env ruby
# downcases all licenses in a git-friendly way
2016-02-08 21:37:19 +01:00
Dir['_licenses/*'].each do |file|
2014-09-17 17:38:11 +02:00
system "git mv #{file} #{file.downcase}2"
system "git mv #{file.downcase}2 #{file.downcase}"
end