Sha256: b4387090c719807cf2e9db228c221c5f43ea5aa6bef54f416477fbc7116aac04
Contents?: true
Size: 1.39 KB
Versions: 1
Compression:
Stored size: 1.39 KB
Contents
# Look in the tasks/setup.rb file for the various options that can be # configured in this Rakefile. The .rake files in the tasks directory # are where the options are used. begin require 'bones' Bones.setup rescue LoadError begin load 'tasks/setup.rb' rescue LoadError raise RuntimeError, '### please install the "bones" gem ###' end end ensure_in_path 'lib' require 'gorgyrella' PROJ.name = 'gorgyrella' PROJ.authors = 'Ana Nelson' PROJ.email = 'ana@ananelson.com' PROJ.url = 'http://gorgyrella.rubyforge.org' PROJ.version = Gorgyrella::VERSION PROJ.rubyforge.name = 'gorgyrella' PROJ.spec.opts << '--color' PROJ.exclude = %w{.bzr gorgyrella-manual-* examples spec tasks stats .DS_Store} require 'spec/rake/spectask' require 'spec/rake/verify_rcov' task :spec => :verify_rcov desc "Verify RCOV coverage above threshold" RCov::VerifyTask.new(:verify_rcov => [:compile, 'spec:rcov']) do |t| t.threshold = 90.2 t.index_html = 'coverage/index.html' end desc "Compile Ragel parser to a Ruby file" task :compile do result = system("ragel -R lib/gorgyrella/parser.rl") raise "ragel compile error" unless result end task :pygments_css do style = "manni" system("pygmentize -S #{style} -f html > spec/data/pygments.css") end task :coderay_css do system("coderay_stylesheet > spec/data/coderay.css") end task :uv_css do require "uv" Uv.copy_files "xhtml", "spec/data/ultraviolet/" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gorgyrella-0.0.2 | Rakefile |