mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
Moved Rails plugins required by the core to lib/plugins.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9533 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
28
lib/plugins/awesome_nested_set/Rakefile
Normal file
28
lib/plugins/awesome_nested_set/Rakefile
Normal file
@@ -0,0 +1,28 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
||||
require 'rubygems'
|
||||
require 'bundler/setup'
|
||||
require 'awesome_nested_set/version'
|
||||
|
||||
require "rspec/core/rake_task"
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
task :default => :spec
|
||||
|
||||
task :build do
|
||||
system "gem build awesome_nested_set.gemspec"
|
||||
end
|
||||
|
||||
task :release => :build do
|
||||
system "gem push awesome_nested_set-#{ActsAsGeocodable::VERSION}.gem"
|
||||
end
|
||||
|
||||
require 'rdoc/task'
|
||||
desc 'Generate documentation for the awesome_nested_set plugin.'
|
||||
Rake::RDocTask.new(:rdoc) do |rdoc|
|
||||
rdoc.rdoc_dir = 'rdoc'
|
||||
rdoc.title = 'AwesomeNestedSet'
|
||||
rdoc.options << '--line-numbers' << '--inline-source'
|
||||
rdoc.rdoc_files.include('README.rdoc')
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
end
|
||||
Reference in New Issue
Block a user