Skip to content
Newer
Older
100644 37 lines (28 sloc) 797 Bytes
23e6f83 Fixed file structure
Alvaro Pereyra Rabanal authored Sep 27, 2009
1
2 # -*- ruby -*-
3
4 require 'rubygems'
5 require 'hoe'
1fc01a1 Initial setup of plugin
Alvaro Pereyra Rabanal authored Sep 27, 2009
6 require 'rake'
7 require 'rake/testtask'
8 require 'rake/rdoctask'
9
10 desc 'Default: run unit tests.'
11 task :default => :test
12
13 desc 'Test the clearance_admin plugin.'
14 Rake::TestTask.new(:test) do |t|
15 t.libs << 'lib'
16 t.libs << 'test'
17 t.pattern = 'test/**/*_test.rb'
18 t.verbose = true
19 end
20
21 desc 'Generate documentation for the clearance_admin plugin.'
22 Rake::RDocTask.new(:rdoc) do |rdoc|
23 rdoc.rdoc_dir = 'rdoc'
24 rdoc.title = 'Clearance-admin'
25 rdoc.options << '--line-numbers' << '--inline-source'
26 rdoc.rdoc_files.include('README')
27 rdoc.rdoc_files.include('lib/**/*.rb')
28 end
23e6f83 Fixed file structure
Alvaro Pereyra Rabanal authored Sep 27, 2009
29
30 Hoe.spec 'clearance_admin' do
31 # developer('FIX', 'FIX@example.com')
32
33 # self.rubyforge_name = 'herecmsx' # if different than 'herecms'
34 end
35
36 # vim: syntax=ruby
Something went wrong with that request. Please try again.