mirror of
https://github.com/github/choosealicense.com
synced 2024-12-21 20:30:10 +01:00
add script to downcase licenses
This commit is contained in:
parent
4fcffe2c6b
commit
8be3e98dd6
7
script/downcase
Executable file
7
script/downcase
Executable 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
|
Loading…
x
Reference in New Issue
Block a user