-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRakefile
50 lines (41 loc) · 1.5 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
require 'rubygems'
require 'bundler/setup'
require 'rspec/core/rake_task'
require 'torquebox-rake-support'
require 'jeweler'
require 'rake'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "torquebox-stompbox"
gem.homepage = "http://github.com/torquebox/stompbox"
gem.license = "MIT"
gem.summary = %Q{StompBox - Git-based deployment console for TorqueBox}
gem.description = %Q{StompBox - Git-based deployment console for TorqueBox}
gem.email = "[email protected]"
gem.authors = ["Lance Ball"]
gem.files = FileList["[A-Z]*.*", 'stompbox.rb', 'config.ru', 'bin/*', "{app,config,javascript,public}/**/*"]
gem.executables = %w{stompbox}
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
gem.add_runtime_dependency 'thor', '> 0.14'
gem.add_runtime_dependency 'bundler', '>= 1.0.12'
gem.add_runtime_dependency 'torquebox-rake-support'
end
Jeweler::RubygemsDotOrgTasks.new
task :default => :test
task :test => :spec
if !defined?(RSpec)
puts "spec targets require RSpec"
else
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*.rb'
t.rspec_opts = ['-cfs']
end
desc "Run all integration specs"
RSpec::Core::RakeTask.new do |t|
t.pattern ='integration_spec/**/*.rb'
t.rspec_opts = ['-cfs']
t.name = "integs"
end
end