Sha256: 5b8cd647e410dd47e7a59ecadcb8ca6da1b4a34dd601ba1e6cf99b3b3cdf7579
Contents?: true
Size: 669 Bytes
Versions: 68
Compression:
Stored size: 669 Bytes
Contents
#-*- mode: ruby -*- task :default => [ :specs ] desc 'run specs' task :specs do $LOAD_PATH << "spec" Dir['spec/*_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
68 entries across 65 versions & 14 rubygems