Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (33 sloc) 1.036 kb
6db2d49 @toretore Initial commit
authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
8 desc 'Test the lucy plugin.'
9 Rake::TestTask.new(:test) do |t|
10 t.libs << 'lib'
11 t.libs << 'test'
12 t.pattern = 'test/**/*_test.rb'
13 t.verbose = true
14 end
15
16 desc 'Generate documentation for the lucy plugin.'
17 Rake::RDocTask.new(:rdoc) do |rdoc|
18 rdoc.rdoc_dir = 'rdoc'
19 rdoc.title = 'Lucy'
20 rdoc.options << '--line-numbers' << '--inline-source'
21 rdoc.rdoc_files.include('README')
22 rdoc.rdoc_files.include('lib/**/*.rb')
23 end
cd9d86c @romanbsd Convert to gem
romanbsd authored
24
25 require 'jeweler'
26 Jeweler::Tasks.new do |gem|
27 # gem is a Gem::Specification. See http://docs.rubygems.org/read/chapter/20 for more options
28 gem.name = "lucy"
29 gem.homepage = "http://github.com/toretore/lucy"
30 gem.license = "MIT"
31 gem.summary = %Q{Rails plugin for generating javascript files from Ruby objects}
32 gem.description = gem.summary
33 gem.email = ""
34 gem.authors = ["Tore Darell"]
35 gem.add_development_dependency 'activesupport'
36 end
37 Jeweler::RubygemsDotOrgTasks.new
Something went wrong with that request. Please try again.