#------------------------------------------------------------------------------
# Main Build Targets
#------------------------------------------------------------------------------
-task :default => [:test, :coverage, :build]
+task :default => [:test, :build]
desc "Build the C Data Structures static library"
task :build do
obj = gcno.ext('o')
path = File.dirname(obj)
gcov = File.basename(obj).ext('c.gcov')
- #if File.exist?(gcno.ext('gcda'))
- sh *['gcov', '-a', '-b', '-c', obj] and
- FileUtils.mv("./#{gcov}","#{path}/#{gcov}")
- #end
+ sh *['gcov', '-a', '-b', '-c', obj] and FileUtils.mv("./#{gcov}","#{path}/#{gcov}")
end
end