Sha256: 18b75d6a77c1a394c2e1663780a7dc9cef9dddbf8f8c1e4c9545f5845c4ed3ea

Contents?: true

Size: 327 Bytes

Versions: 45

Compression:

Stored size: 327 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 'countloc -r * --html doc/countloc.html'
		end
	end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
dev-2.0.154 lib/tasks/analyze.rb
dev-2.0.153 lib/tasks/analyze.rb
dev-2.0.152 lib/tasks/analyze.rb
dev-2.0.151 lib/tasks/analyze.rb
dev-2.0.150 lib/tasks/analyze.rb