-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathRakefile
50 lines (43 loc) · 1.52 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
49
50
require 'rake'
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
end
desc 'Default: run the specs.'
task :default => :spec
gem_spec = Gem::Specification.new do |s|
s.name = %q{slidedown}
s.version = "0.2.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Pat Nakajima", "Dan Croak"]
s.date = %q{2009-03-10}
s.default_executable = %q{slidedown}
s.executables = ["slidedown"]
s.files = FileList["README.md", "{bin,lib,templates,vendor}/**/*"]
s.require_paths = ["lib", "vendor"]
s.rubygems_version = %q{1.3.1}
s.summary = %q{Create slides with Markdown}
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<makers-mark>, [">= 0"])
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
s.add_runtime_dependency(%q<open4>, [">= 0"])
else
s.add_dependency(%q<makers-mark>, [">= 0"])
s.add_dependency(%q<nokogiri>, [">= 0"])
s.add_dependency(%q<open4>, [">= 0"])
end
else
s.add_dependency(%q<makers-mark>, [">= 0"])
s.add_dependency(%q<nokogiri>, [">= 0"])
s.add_dependency(%q<open4>, [">= 0"])
end
end
desc "Generate a gemspec file"
task :gemspec do
File.open("#{gem_spec.name}.gemspec", 'w') do |f|
f.write gem_spec.to_yaml
end
end