Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 04dd06ceb4
Fetching contributors…

Cannot retrieve contributors at this time

75 lines (57 sloc) 2.56 kB
require 'rubygems'
gem 'quality_rake_tasks'
require 'quality_rake_tasks'
#---------------------------------------------------------------------------------------------------------------------------------
# Specification and description
module Project
PrettyName = "Ruby Unroller"
Name = "unroller"
RubyForgeName = "unroller"
Version = "0.1.3"
end
specification = Gem::Specification.new do |s|
s.name = Project::Name
s.summary = "Ruby Code Unroller: A tool for generating human-readable \"execution traces\""
s.version = Project::Version
s.author = 'Tyler Rick'
s.description = <<-EOF
A debugging/tracing tool for Ruby. While it is enabled, it will watch every Ruby statement and method call that gets executed and will display the source code that is being executed in real time on your screen.
EOF
#s.email = "#{Project::Name}-developer@rubyforge.org"
s.homepage = "http://#{Project::Name}.rubyforge.org"
s.rubyforge_project = Project::Name
s.platform = Gem::Platform::RUBY
s.add_dependency("facets", '>=2.4.1')
s.add_dependency("quality_extensions", '>=1.1.2')
s.add_dependency("colored")
#s.add_dependency("termios")
#s.add_dependency("extensions")
# Documentation
s.has_rdoc = true
s.extra_rdoc_files = ['Readme']
s.rdoc_options << '--title' << Project::Name << '--main' << 'Readme' << '--line-numbers'
# Files
s.files = FileList['{lib,test,examples}/**/*.rb', 'bin/*', 'Readme'].exclude('ToDo').to_a
s.test_files = Dir.glob('test/*.rb')
s.require_path = "lib"
end
#---------------------------------------------------------------------------------------------------------------------------------
# Tests
require 'rake/testtask'
task :default => :test
SharedTasks.normal_test_task
#---------------------------------------------------------------------------------------------------------------------------------
# Documentation
require 'rake/rdoctask'
SharedTasks.rdoc_task do |task|
task.title = Project::PrettyName
task.rdoc_files.include()
end
#---------------------------------------------------------------------------------------------------------------------------------
# Packaging
SharedTasks.package_task(specification)
SharedTasks.inc_version(__FILE__)
#---------------------------------------------------------------------------------------------------------------------------------
# Publishing
SharedTasks.publish_task
#---------------------------------------------------------------------------------------------------------------------------------
Jump to Line
Something went wrong with that request. Please try again.