public
Description: Use Google's copies of major Javascript libraries instead of the local copies.
Homepage:
Clone URL: git://github.com/chriswarren/include_google_js.git
chriswarren (author)
Tue Jun 16 23:07:36 -0700 2009
commit  9fceda1a58d4154356fe13a8cbac8516804701ed
tree    9e63b108697d4f073056a4baf33e6115a143b664
parent  73b7a9f6e07ed5b4dee61f3f25645297bf09b664
include_google_js / Rakefile
100644 23 lines (19 sloc) 0.569 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the include_google_js plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the include_google_js plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'IncludeGoogleJs'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end