To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / c2 / c277c75680e95fd8a5e6b96ba5aa137fbcbf5ef8.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (749 Bytes)

1 1296:038ba2d95de8 Chris
# -*- encoding: utf-8 -*-
2
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
require 'rubygems'
4
require 'bundler/setup'
5
require 'awesome_nested_set/version'
6
7
require "rspec/core/rake_task"
8
RSpec::Core::RakeTask.new(:spec)
9
10
task :default => :spec
11
12
task :build do
13
  system "gem build awesome_nested_set.gemspec"
14
end
15
16
task :release => :build do
17
  system "gem push awesome_nested_set-#{ActsAsGeocodable::VERSION}.gem"
18
end
19
20
require 'rdoc/task'
21
desc 'Generate documentation for the awesome_nested_set plugin.'
22
Rake::RDocTask.new(:rdoc) do |rdoc|
23
  rdoc.rdoc_dir = 'rdoc'
24
  rdoc.title    = 'AwesomeNestedSet'
25
  rdoc.options << '--line-numbers' << '--inline-source'
26
  rdoc.rdoc_files.include('README.rdoc')
27
  rdoc.rdoc_files.include('lib/**/*.rb')
28
end