This repository was archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
56 lines (49 loc) · 1.35 KB
/
Rakefile
File metadata and controls
56 lines (49 loc) · 1.35 KB
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
51
52
53
54
55
56
require 'rubygems'
require 'rake/rdoctask'
desc "Run all specs by default"
task :default => :spec
namespace :spec do
desc "Run all API specs"
task :api do
Dir[File.dirname(__FILE__) + '/spec/api/**/*_spec.rb'].each do |file|
load file
end
end
desc "Run all functional specs"
task :functional do
Dir[File.dirname(__FILE__) + '/spec/functional/*_spec.rb'].each do |file|
load file
end
end
end
desc "Run all specs"
task :spec do
sh "ruby -r #{Dir.glob('spec/**/*_spec.rb').join(' -r ')} -e ''"
end
namespace :docs do
Rake::RDocTask.new(:generate) do |rd|
rd.main = "README"
rd.rdoc_files.include("README", "LICENSE", "lib/**/*.rb")
rd.options << "--all" << "--charset" << "utf-8"
end
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "miso"
s.homepage = "http://github.com/Fingertips/miso"
s.email = ["eloy@fngtps.com", "manfred@fngtps.com"]
s.authors = ["Eloy Duran", "Manfred Stienstra"]
s.summary = s.description = "Miso is a unified API for simple image operations commonly used on the web."
s.files = ['LICENSE', 'README'] + Dir.glob('lib/**/*.rb')
s.add_dependency('executioner', '>= 0.3.0')
end
rescue LoadError
end
begin
require 'jewelry_portfolio/tasks'
JewelryPortfolio::Tasks.new do |p|
p.account = 'Fingertips'
end
rescue LoadError
end