Sha256: 97da2a1714864b9c5e31253212376101dffb1cd88069efb40610284b2c23a03d
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
# module Sow::Plugins # Add specified license to your project. class License < Script LICENSES = %w[gpl lgpl mit] argument :license setup do lic = license.downcase abort "License name required" unless LICENSES.include?(lic) metadata.license = lic.upcase end manifest do copy "META/*", metadir copy "*", '.', :cd => license.downcase end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sow-0.5 | plug/sow/seeds/license/SCRIPT.rb |
sow-0.4.0 | plug/sow/seeds/license/SCRIPT.rb |