<?xml version="1.0" encoding="UTF-8"?>
<!--
	ANT
	
	Copyright 2011-2021 IS2T. All rights reserved.
	Modification and distribution is permitted under certain conditions.
	IS2T PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
-->
<!--
	Input properties
	cc.dir:							*.cc sources directory
	cc.includes:					Code coverage includes classes, separated with <code>:</code>
	cc.excludes:					Report code coverage excludes classes, separated with <code>:</code>	
	cc.src.folders:					List of folders used to find sources, separated by a path separator
	cc.html.dir:					Output directory of the HTML report.
-->
<project name="Code coverage report" default="s3">
	
	<description>Generate code coverage HTML report.</description>

	<import file="codeCoverageAnalyzer.xml"/>
	
	<target name="s3" depends="cc.analyser">
		<!-- Generate .postactions file => open report -->
		<echo file="${microej.io.tmpdir}/.postactions">OPEN:${cc.html.dir}/index.html</echo>
	</target>
	
</project>