Mercurial > hg > soundsoftware-site
view .svn/pristine/fc/fc2507eb1a52514c446bec6339656a06784ed796.svn-base @ 1119:22d81bd0b62c redmine-2.2-integration
Deleted existing the embedded plugin and replaced it witgh redmine_embedded (same functionality, but upgraded to be compatible with Redmine 2.x).
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 08 Jan 2013 14:43:04 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
$:.unshift File.dirname(__FILE__) unless $:.include? '.' ROOT = '.' LIB_ROOT = File.join ROOT, 'lib' task :default => :test if File.directory? 'rake_tasks' # load rake tasks from subfolder for task_file in Dir['rake_tasks/*.rake'].sort load task_file end else # fallback tasks when rake_tasks folder is not present (eg. in the distribution package) desc 'Run CodeRay tests (basic)' task :test do ruby './test/functional/suite.rb' ruby './test/functional/for_redcloth.rb' end gem 'rdoc' if defined? gem require 'rdoc/task' desc 'Generate documentation for CodeRay' Rake::RDocTask.new :doc do |rd| rd.title = 'CodeRay Documentation' rd.main = 'README_INDEX.rdoc' rd.rdoc_files.add Dir['lib'] rd.rdoc_files.add rd.main rd.rdoc_dir = 'doc' end end