Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (21 sloc) 0.602 kb
2d7ac60 Christian Meier added copyright headers and removed bundler/setup - the caller needs to ...
authored
1 # -*- mode: ruby -*-
2
a61cfc8 Christian Meier cleanup setup
authored
3 task :default => [ :spec ]
4
5 task :spec do
31707f5 Christian Meier total rework
authored
6 Dir['spec/*_spec.rb'].each { |f| require File.expand_path( f ) }
a61cfc8 Christian Meier cleanup setup
authored
7 end
2d7ac60 Christian Meier added copyright headers and removed bundler/setup - the caller needs to ...
authored
8
9 task :headers do
10 require 'copyright_header'
11
12 s = Gem::Specification.load( Dir["*gemspec"].first )
13
14 args = {
15 :license => s.license,
16 :copyright_software => s.name,
17 :copyright_software_description => s.description,
18 :copyright_holders => s.authors,
19 :copyright_years => [Time.now.year],
20 :add_path => 'lib',
21 :output_dir => './'
22 }
23
24 command_line = CopyrightHeader::CommandLine.new( args )
25 command_line.execute
26 end
27 # vim: syntax=Ruby
Something went wrong with that request. Please try again.