Sha256: cb2915f91986f1d86e1c598f0a44f0029d0cd9d0a1f13c2091f4dedb1de7f1e8

Contents?: true

Size: 412 Bytes

Versions: 94

Compression:

Stored size: 412 Bytes

Contents

puts __FILE__ if defined?(DEBUG)

desc 'performs analyze commands'
task :analyze do Tasks.execute_task :analyze;end

class Analyze < Array
	def update
		if(`gem list countloc`.include?('countloc ('))
			FileUtils.mkdir('doc') if(!File.exists?('doc'))
			add_quiet 'countloc -r * --html doc/countloc.html'
		end

		if defined?(DEBUG)
			puts
			puts "Analyze"
			pp self 
			puts
		end
	end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
dev-2.1.92 lib/tasks/analyze.rb
dev-2.1.91 lib/tasks/analyze.rb
dev-2.1.90 lib/tasks/analyze.rb
dev-2.1.89 lib/tasks/analyze.rb
dev-2.1.88 lib/tasks/analyze.rb
dev-2.1.87 lib/tasks/analyze.rb
dev-2.1.86 lib/tasks/analyze.rb
dev-2.1.85 lib/tasks/analyze.rb
dev-2.1.84 lib/tasks/analyze.rb
dev-2.1.83 lib/tasks/analyze.rb
dev-2.1.82 lib/tasks/analyze.rb
dev-2.1.81 lib/tasks/analyze.rb
dev-2.1.80 lib/tasks/analyze.rb
dev-2.1.79 lib/tasks/analyze.rb
dev-2.1.78 lib/tasks/analyze.rb
dev-2.1.77 lib/tasks/analyze.rb
dev-2.1.76 lib/tasks/analyze.rb
dev-2.1.75 lib/tasks/analyze.rb
dev-2.1.74 lib/tasks/analyze.rb
dev-2.1.73 lib/tasks/analyze.rb