-
Notifications
You must be signed in to change notification settings - Fork 8
/
Rakefile
48 lines (38 loc) · 1.58 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
require 'rubygems/package_task'
task :default => :spec
desc "Run the specs (default)"
task :spec => :build do
sh "mspec spec"
end
desc "Clean generated files"
task :clean do
rm_f FileList["**/*.{pyc,rbc}"]
rm_rf FileList["pkg"]
end
task :build
spec = Gem::Specification.new do |s|
require File.expand_path('../lib/typhon/version', __FILE__)
s.name = "typhon"
s.version = Typhon::Version.to_s
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Victor Hugo Borja"]
s.date = %q{2010-12-18}
s.email = %q{[email protected]}
s.has_rdoc = true
s.extra_rdoc_files = %w[ README.md ]
s.executables = ["typhon"]
s.files = FileList[ '{bin,lib,spec}/**/*.{yaml,txt,rb,py}', 'Rakefile', *s.extra_rdoc_files ]
s.homepage = %q{http://github.com/vic/typhon}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = "A Python implementation for the Rubinius VM."
s.description = <<EOS
Typhon is a Python implementation that runs on the Rubinius VM.
EOS
s.rdoc_options << '--title' << 'Typhon: snakes on rubinius head' <<
'--main' << 'README.md' <<
'--line-numbers'
s.add_dependency 'mspec', '~> 1.5.0'
end
Gem::PackageTask.new(spec){ |pkg| pkg.gem_spec = spec }