-
Notifications
You must be signed in to change notification settings - Fork 2
/
Rakefile
30 lines (27 loc) · 836 Bytes
/
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
begin
require 'spec/rake/spectask'
rescue LoadError
puts 'To use rspec for testing you must install rspec gem:'
puts '$ sudo gem install rspec'
exit
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "h2o"
s.summary = "h2o is a django inspired template"
s.description = "h2o is a django inspired template that offers natural template syntax and easy to integrate."
s.email = "[email protected]"
s.homepage = "http://www.h2o-template.org"
s.authors = ["Taylor luk"]
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
desc "Run the specs under spec"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
end
desc "Default task is to run specs"
task :default => :spec