Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (34 sloc) 0.866 kB
require 'rubygems'
task :default => :test
### MACRUBY BONUSES
if RUBY_ENGINE == 'macruby'
require 'rake/compiletask'
Rake::CompileTask.new
end
### GEM STUFF
require 'rubygems/package_task'
spec = Gem::Specification.load 'jiraSOAP.gemspec'
Gem::PackageTask.new(spec) { }
desc 'Build the gem and install it'
task :install => :gem do
require 'rubygems/dependency_installer'
Gem::DependencyInstaller.new.install "pkg/#{spec.file_name}"
end
### TESTING
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.ruby_opts = ['-rhelper.rb']
t.verbose = true
end
desc 'Startup irb with jiraSOAP loaded'
task :console do
sh 'irb -Ilib -rubygems -rjiraSOAP'
end
### DOCUMENTATION
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError => e
warn 'yard not available. Install it with: gem install yard'
end
Jump to Line
Something went wrong with that request. Please try again.