forked from VladimirStarostenkov/knife-profitbricks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
executable file
·39 lines (31 loc) · 828 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
31
32
33
34
35
36
37
38
39
# -*- ruby -*-
require 'rubygems'
require 'hoe'
# vim: syntax=ruby
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
require 'hoe'
Hoe.plugin :git
Hoe.plugin :gemspec
Hoe.plugin :bundler
Hoe.plugin :gemcutter
Hoe.plugins.delete :rubyforge
Hoe.plugins.delete :spec
Hoe.spec 'knife-profitbricks' do
developer('Dominik Sander', '[email protected]')
self.readme_file = 'README.md'
self.history_file = 'CHANGELOG.md'
self.extra_deps << ["profitbricks", '= 1.1.0']
self.extra_deps << ["chef", "> 10.0.0"]
self.licenses = ["MIT"]
end
task :prerelease => [:clobber, :check_manifest, :test]
else
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rspec_opts = ['--backtrace']
end
end
task :default => :spec
task :test => :spec
task :spec do
end