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.153 lib/tasks/analyze.rb
dev-2.1.152 lib/tasks/analyze.rb
dev-2.1.151 lib/tasks/analyze.rb
dev-2.1.150 lib/tasks/analyze.rb
dev-2.1.149 lib/tasks/analyze.rb
dev-2.1.148 lib/tasks/analyze.rb
dev-2.1.147 lib/tasks/analyze.rb
dev-2.1.146 lib/tasks/analyze.rb
dev-2.1.145 lib/tasks/analyze.rb
dev-2.1.144 lib/tasks/analyze.rb
dev-2.1.143 lib/tasks/analyze.rb
dev-2.1.142 lib/tasks/analyze.rb
dev-2.1.141 lib/tasks/analyze.rb
dev-2.1.140 lib/tasks/analyze.rb
dev-2.1.139 lib/tasks/analyze.rb
dev-2.1.137 lib/tasks/analyze.rb
dev-2.1.136 lib/tasks/analyze.rb
dev-2.1.135 lib/tasks/analyze.rb
dev-2.1.134 lib/tasks/analyze.rb
dev-2.1.133 lib/tasks/analyze.rb