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.112 lib/tasks/analyze.rb
dev-2.1.111 lib/tasks/analyze.rb
dev-2.1.110 lib/tasks/analyze.rb
dev-2.1.109 lib/tasks/analyze.rb
dev-2.1.108 lib/tasks/analyze.rb
dev-2.1.107 lib/tasks/analyze.rb
dev-2.1.106 lib/tasks/analyze.rb
dev-2.1.105 lib/tasks/analyze.rb
dev-2.1.104 lib/tasks/analyze.rb
dev-2.1.103 lib/tasks/analyze.rb
dev-2.1.102 lib/tasks/analyze.rb
dev-2.1.101 lib/tasks/analyze.rb
dev-2.1.100 lib/tasks/analyze.rb
dev-2.1.99 lib/tasks/analyze.rb
dev-2.1.98 lib/tasks/analyze.rb
dev-2.1.97 lib/tasks/analyze.rb
dev-2.1.96 lib/tasks/analyze.rb
dev-2.1.95 lib/tasks/analyze.rb
dev-2.1.94 lib/tasks/analyze.rb
dev-2.1.93 lib/tasks/analyze.rb