1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

add script to downcase licenses

This commit is contained in:
Ben Balter 2014-09-17 11:38:11 -04:00
parent 4fcffe2c6b
commit 8be3e98dd6

7
script/downcase Executable file
View File

@ -0,0 +1,7 @@
#! /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