Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (40 sloc) 1.265 kb
67f8332 @schneems initial commit
authored
1 # encoding: UTF-8
2 require 'rubygems'
3 require 'bundler'
4
5 begin
6 Bundler.setup(:default, :development, :test)
7 rescue Bundler::BundlerError => e
8 $stderr.puts e.message
9 $stderr.puts "Run `bundle install` to install missing gems"
10 exit e.status_code
11 end
12
13 require 'rake'
14 require 'rdoc/task'
15
16 require 'rake/testtask'
17
18 Rake::TestTask.new(:test) do |t|
19 t.libs << 'lib'
20 t.libs << 'test'
21 t.pattern = 'test/**/*_test.rb'
22 t.verbose = false
23 end
24
25 task :default => :test
26
27 Rake::RDocTask.new(:rdoc) do |rdoc|
28 rdoc.rdoc_dir = 'rdoc'
29 rdoc.title = 'Sextant'
30 rdoc.options << '--line-numbers' << '--inline-source'
1ebdb9f @schneems fix typo
authored
31 rdoc.rdoc_files.include('README.rdoc')
67f8332 @schneems initial commit
authored
32 rdoc.rdoc_files.include('lib/**/*.rb')
33 end
34
35
36 require 'jeweler'
37 Jeweler::Tasks.new do |gem|
38 # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
39 gem.name = "sextant"
40 gem.homepage = "http://github.com/schneems/sextant"
41 gem.license = "MIT"
42 gem.summary = %Q{Use Sextant to show you the route}
43 gem.description = %Q{Sextant is a Rails engine that quickly shows the routes available}
44 gem.email = "richard.schneeman@gmail.com"
45 gem.authors = ["schneems"]
46 # dependencies defined in Gemfile
47 end
48 Jeweler::RubygemsDotOrgTasks.new
49
50
Something went wrong with that request. Please try again.