Commit 369f984e authored by Enrique García Cota's avatar Enrique García Cota

added long names to tasks/licenses

parent a2d260ee
def create_license(name, identifier, url, version_identifier, date, version_url)
license = => name, :identifier => identifier, :url => url)
def create_license(short_name, name, identifier, url, version_identifier, date, version_url)
license = => short_name, :name => name, :identifier => identifier, :url => url)
version = => version_identifier, :date => date, :url => version_url)
......@@ -25,10 +25,10 @@ namespace :licenses do
desc "creates default licenses"
task :create => :environment do
create_license("GPL", "gpl", "", "v2.0",,6,1), "")
create_license("LGPL", "lgpl", "", "v2.0",,6,1), "")
create_license("TAPR OHL", "tapr-ohl", "", "v1.0",, 5, 25), "")
create_license("CERN OHL", "cern-ohl", nil, "v1.1",,7,8), nil)
create_license("GPL", "GNU General Public License", "gpl", "", "v2.0",,6,1), "")
create_license("LGPL", "GNU Library General Public License", "lgpl", "", "v2.0",,6,1), "")
create_license("TAPR OHL", "TAPR Open Hardware License", "tapr-ohl", "", "v1.0",, 5, 25), "")
create_license("CERN OHL", "CERN Open Hardware License", "cern-ohl", nil, "v1.1",,7,8), nil)
desc "associates projects to the licenses they belong to"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment