Skip to content
Newer
Older
100644 28 lines (22 sloc) 774 Bytes
9922c0e @croaky starting actual Hello Ruby interface
authored
1 require 'rubygems'
2 require 'spec/rake/spectask'
3
4 task :specs do
5 system("spec spec -c --format nested")
6 end
7
8 task :default => [:specs]
9
58808d6 @croaky making this sucker a gem
authored
10 spec = Gem::Specification.new do |s|
11 s.name = "hello"
12 s.version = "0.0.1"
13 s.summary = "Hello is a Ruby interface to a collection of the word 'hello' in many languages and dialects."
14 s.email = "dcroak@thoughtbot.com"
15 s.homepage = "http://github.com/dancroak/hello"
16 s.description = "Hello is a Ruby interface to a collection of the word 'hello' in many languages and dialects."
17 s.authors = ["Dan Croak"]
18 s.files = FileList["[A-Z]*", "{lib,data}/**/*"]
19 end
20
21 desc "Generate a gemspec file"
22 task :gemspec do
23 File.open("#{spec.name}.gemspec", 'w') do |f|
24 f.write spec.to_yaml
25 end
26 end
9922c0e @croaky starting actual Hello Ruby interface
authored
27
Something went wrong with that request. Please try again.