-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathRakefile
31 lines (21 loc) · 808 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'
# require 'metric_fu'
# not merging with rails own predefined rake task yet..
# GOAL: Eventually report on JS, comments, etc, through extensible lambda-based infrastructure
# as opposed to hacking within a for-loop
#
#namespace :analyze do
desc "Report statistics (lines, lines of ERB, etc) about the views in this application"
task :analyze_stats => [:stats] do
require 'misc/view_statistics'
ViewStatistics.new( *[
%w(Views app/views)
]).to_s
end
#end