Sha256: 90758cd8063eb426d1343d14f7e2bea4ba0c5db19b9a9ced9c754b0e33d4ef5c
Contents?: true
Size: 671 Bytes
Versions: 63
Compression:
Stored size: 671 Bytes
Contents
#-*- mode: ruby -*- task :default => [ :specs ] desc 'run specs' task :specs do $LOAD_PATH << "specs" Dir['specs/*_spec.rb'].each do |f| require File.basename( f.sub(/.rb$/, '' ) ) end end task :headers do require 'copyright_header' s = Gem::Specification.load( Dir["*gemspec"].first ) args = { :license => s.license, :copyright_software => s.name, :copyright_software_description => s.description, :copyright_holders => s.authors, :copyright_years => [Time.now.year], :add_path => "lib", :output_dir => './' } command_line = CopyrightHeader::CommandLine.new( args ) command_line.execute end # vim: syntax=Ruby
Version data entries
63 entries across 62 versions & 10 rubygems