Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.602 kb
# -*- mode: ruby -*-
task :default => [ :spec ]
task :spec do
Dir['spec/*_spec.rb'].each { |f| require File.expand_path( f ) }
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
Jump to Line
Something went wrong with that request. Please try again.