Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c02859cab2
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (32 sloc) 1.335 kb
# Rakefile for phedre
# Jonathan D. Stott <jonathan.stott@gmail.com>
require 'rake/testtask'
Rake::TestTask.new(:spec) do |t|
t.libs << 'lib' << 'spec' << 'app'
t.pattern = 'spec/**/*_spec.rb'
t.verbose = false
end
task :default => :spec
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "exalted_math"
gem.summary = "Parsing and evaluation of simple maths expressions for Exalted"
gem.description = "Parsing and evaluation of simple maths expressions for Exalted\n\nThis intended to aid in evaluating simple calculations which appear on character sheets, especially for Exalted."
gem.email = "jonathan.stott@gmail.com"
gem.homepage = "http://github.com/namelessjon/exalted_math"
gem.authors = ["Jonathan Stott"]
gem.add_dependency "treetop", "~> 1.4"
gem.add_development_dependency "bacon"
gem.add_development_dependency "yard"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
file 'lib/exalted_math/math.rb' => 'lib/exalted_math/math.treetop' do
sh "tt lib/exalted_math/math.treetop"
end
desc "Regenerate the treetop file"
task :treetop => 'lib/exalted_math/math.rb'
Jump to Line
Something went wrong with that request. Please try again.