-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
executable file
·50 lines (39 loc) · 1.08 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 'rubygems'
require 'rake/gempackagetask'
require 'rake/testtask'
task :default => :test
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList["test/**/*_test.rb"]
t.verbose = true
end
namespace :doc do
desc 'generate doc'
task :generate do
`rdoc`
end
desc 'clean up all docs'
task :clean do
`rm -fr doc`
end
desc 'open docs in browser'
task :open do
`open doc/index.html`
end
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "dawanda_client"
gemspec.summary = "Provides a friendly ruby-like interface to the Dawanda API"
gemspec.description = "Provides a friendly ruby-like interface to the Dawanda API"
gemspec.email = '[email protected]'
gemspec.homepage = "http://github.com/dawanda/dawanda-api-client-ruby"
gemspec.authors = ['DaWanda GmbH']
gemspec.files.exclude 'examples/*'
gemspec.test_files.exclude 'examples/*'
gemspec.add_dependency('oauth', '~>0.4.0')
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end