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.132 lib/tasks/analyze.rb
dev-2.1.131 lib/tasks/analyze.rb
dev-2.1.130 lib/tasks/analyze.rb
dev-2.1.129 lib/tasks/analyze.rb
dev-2.1.128 lib/tasks/analyze.rb
dev-2.1.127 lib/tasks/analyze.rb
dev-2.1.126 lib/tasks/analyze.rb
dev-2.1.125 lib/tasks/analyze.rb
dev-2.1.124 lib/tasks/analyze.rb
dev-2.1.123 lib/tasks/analyze.rb
dev-2.1.122 lib/tasks/analyze.rb
dev-2.1.121 lib/tasks/analyze.rb
dev-2.1.120 lib/tasks/analyze.rb
dev-2.1.119 lib/tasks/analyze.rb
dev-2.1.118 lib/tasks/analyze.rb
dev-2.1.117 lib/tasks/analyze.rb
dev-2.1.116 lib/tasks/analyze.rb
dev-2.1.115 lib/tasks/analyze.rb
dev-2.1.114 lib/tasks/analyze.rb
dev-2.1.113 lib/tasks/analyze.rb