diff --git a/_licenses/AGPL-3.0.txt b/_licenses/agpl-3.0.txt similarity index 100% rename from _licenses/AGPL-3.0.txt rename to _licenses/agpl-3.0.txt diff --git a/_licenses/Apache-2.0.txt b/_licenses/apache-2.0.txt similarity index 100% rename from _licenses/Apache-2.0.txt rename to _licenses/apache-2.0.txt diff --git a/_licenses/Artistic-2.0.txt b/_licenses/artistic-2.0.txt similarity index 100% rename from _licenses/Artistic-2.0.txt rename to _licenses/artistic-2.0.txt diff --git a/_licenses/BSD-2-Clause.txt b/_licenses/bsd-2-clause.txt similarity index 100% rename from _licenses/BSD-2-Clause.txt rename to _licenses/bsd-2-clause.txt diff --git a/_licenses/BSD-3-Clause.txt b/_licenses/bsd-3-clause.txt similarity index 100% rename from _licenses/BSD-3-Clause.txt rename to _licenses/bsd-3-clause.txt diff --git a/_licenses/EPL-1.0.txt b/_licenses/epl-1.0.txt similarity index 100% rename from _licenses/EPL-1.0.txt rename to _licenses/epl-1.0.txt diff --git a/_licenses/GPL-2.0.txt b/_licenses/gpl-2.0.txt similarity index 100% rename from _licenses/GPL-2.0.txt rename to _licenses/gpl-2.0.txt diff --git a/_licenses/GPL-3.0.txt b/_licenses/gpl-3.0.txt similarity index 100% rename from _licenses/GPL-3.0.txt rename to _licenses/gpl-3.0.txt diff --git a/_licenses/LGPL-2.1.txt b/_licenses/lgpl-2.1.txt similarity index 100% rename from _licenses/LGPL-2.1.txt rename to _licenses/lgpl-2.1.txt diff --git a/_licenses/LGPL-3.0.txt b/_licenses/lgpl-3.0.txt similarity index 100% rename from _licenses/LGPL-3.0.txt rename to _licenses/lgpl-3.0.txt diff --git a/_licenses/MIT.txt b/_licenses/mit.txt similarity index 100% rename from _licenses/MIT.txt rename to _licenses/mit.txt diff --git a/_licenses/MPL-2.0.txt b/_licenses/mpl-2.0.txt similarity index 100% rename from _licenses/MPL-2.0.txt rename to _licenses/mpl-2.0.txt diff --git a/script/downcase b/script/downcase new file mode 100755 index 0000000..9939e87 --- /dev/null +++ b/script/downcase @@ -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