<commit_before><project name="mamute" default="merge-all" basedir="./">
	
	<property name="tmp.dir" value="tmp" />
	<property name="webapp.target.dir" value="target/mamute-${mamute.version}/" />
	<property name="webapp.dir" value="src/main/webapp/" />
	<property name="css.dir" value="${webapp.dir}/css" />
	<property name="js.dir" value="${webapp.dir}/js" />
	<property name="js.deps.dir" value="${js.dir}/deps/" />
	
	<property name="linebreak" value="1000000" />
	
    <taskdef resource="yuicompressor.tasks" classpath="ant-lib/yuicompressor-taskdef-1.0.jar"/>
    
	<target name="merge-all">
		<antcall target="prepare" />
		<antcall target="merge-css" />
		<antcall target="process-js-deps" />
		<antcall target="process-mamute-js" />
		<antcall target="merge-all-js" />
		<antcall target="merge-jquery-plugins" />
	</target>
	
	<target name="prepare">
		<mkdir dir="${tmp.dir}"/>
		<mkdir dir="${webapp.target.dir}"/>
	</target>

	<target name="merge-css" depends="">
		<echo message="Merging css's..." />
		
		<concat destfile="${webapp.target.dir}/css/all-${timestamp}.css">
			<fileset file="${css.dir}/reset.css" />
			<fileset file="${css.dir}/deps/*.css"/>
			<fileset file="${css.dir}/deps/pickadate/*.css" />
			<fileset file="${css.dir}/mamute/mamute.css" />
			<fileset file="${css.dir}/mamute/responsive-mamute.css" />

		</concat>
	</target>
	
	<target name="process-js-deps" depends="">
		<echo message="Merging js deps's..." />
		<concat destfile="${tmp.dir}/all-deps.js">

			<fileset file="${js.deps.dir}/Markdown.Converter.js"/>
			<fileset file="${js.deps.dir}/Markdown.Sanitizer.js"/>
			<fileset file="${js.deps.dir}/Markdown.Editor.js"/>
			<fileset file="${js.deps.dir}/marked.js"/>

			<fileset file="${js.deps.dir}/filepicker.js"/>
			
		</concat>
		<echo message="Compressing js deps..." />
        <yuicompressor linebreak="${linebreak}" disableOptimizations="true" todir="${tmp.dir}">
            <fileset dir="${tmp.dir}" includes="all-deps.js"/>
            <mapper type="glob" from="all-deps.js" to="all-deps-min.js"/>
        </yuicompressor>

	</target>

	<target name="process-mamute-js" depends="">
		<echo message="Merging mamute js's..." />
		
		<concat destfile="${tmp.dir}/all-mamute.js">
			<fileset dir="${js.dir}" includes="*.js" 
				excludes="mediakit-plugin.js, mediakit.js, all-deps.js, all-deps-min.js, all.js" />
		</concat>
		
		<echo message="Compressing mamute js's..." />
        <yuicompressor linebreak="${linebreak}" disableOptimizations="true" todir="${tmp.dir}">
            <fileset dir="${tmp.dir}" includes="all-mamute.js"/>
            <mapper type="glob" from="all-mamute.js" to="all-mamute-min.js"/>
        </yuicompressor>
	</target>
	
	<target name="merge-all-js" depends="">
		<echo message="Merging mamute + deps js's..." />
		
		<concat destfile="${webapp.target.dir}/js/all-${timestamp}.js">
			<fileset dir="${tmp.dir}" includes="all-deps-min.js" />
			<fileset file="${js.deps.dir}/prettify.js"/>
			<fileset dir="${js.deps.dir}" includes="feather.js" />
			<fileset dir="${tmp.dir}" includes="all-mamute-min.js" />
		</concat>
		
	</target>
	
	<target name="merge-jquery-plugins" depends="">
		<echo message="Merging jquery plugins..." />
		<mkdir dir="${js.dir}/jquery/"/>
		<concat fixlastline="yes" destfile="${webapp.target.dir}/js/jquery/jquery-plugins-${timestamp}.js">
			<fileset file="${js.deps.dir}/picker.js"/>			
			<fileset file="${js.deps.dir}/picker.date.js"/>		
			<fileset file="${js.deps.dir}/translations/pt_BR.js"/>
			<fileset file="${js.deps.dir}/jquery.validate.min.js"/>
			<fileset file="${js.deps.dir}/jquery.joyride-2.0.3.js"/>
			<fileset file="${js.deps.dir}/diff_match_patch.js"/>
			<fileset file="${js.deps.dir}/pretty-text-diff.js"/>
		</concat>
	</target>


</project>
<commit_msg>reset.css on the right folder<commit_after><project name="mamute" default="merge-all" basedir="./">
	
	<property name="tmp.dir" value="tmp" />
	<property name="webapp.target.dir" value="target/mamute-${mamute.version}/" />
	<property name="webapp.dir" value="src/main/webapp/" />
	<property name="css.dir" value="${webapp.dir}/css" />
	<property name="js.dir" value="${webapp.dir}/js" />
	<property name="js.deps.dir" value="${js.dir}/deps/" />
	
	<property name="linebreak" value="1000000" />
	
    <taskdef resource="yuicompressor.tasks" classpath="ant-lib/yuicompressor-taskdef-1.0.jar"/>
    
	<target name="merge-all">
		<antcall target="prepare" />
		<antcall target="merge-css" />
		<antcall target="process-js-deps" />
		<antcall target="process-mamute-js" />
		<antcall target="merge-all-js" />
		<antcall target="merge-jquery-plugins" />
	</target>
	
	<target name="prepare">
		<mkdir dir="${tmp.dir}"/>
		<mkdir dir="${webapp.target.dir}"/>
	</target>

	<target name="merge-css" depends="">
		<echo message="Merging css's..." />
		
		<concat destfile="${webapp.target.dir}/css/all-${timestamp}.css">
			<fileset file="${css.dir}/mamute/reset.css" />
			<fileset file="${css.dir}/deps/*.css"/>
			<fileset file="${css.dir}/deps/pickadate/*.css" />
			<fileset file="${css.dir}/mamute/mamute.css" />
			<fileset file="${css.dir}/mamute/responsive-mamute.css" />

		</concat>
	</target>
	
	<target name="process-js-deps" depends="">
		<echo message="Merging js deps's..." />
		<concat destfile="${tmp.dir}/all-deps.js">

			<fileset file="${js.deps.dir}/Markdown.Converter.js"/>
			<fileset file="${js.deps.dir}/Markdown.Sanitizer.js"/>
			<fileset file="${js.deps.dir}/Markdown.Editor.js"/>
			<fileset file="${js.deps.dir}/marked.js"/>

			<fileset file="${js.deps.dir}/filepicker.js"/>
			
		</concat>
		<echo message="Compressing js deps..." />
        <yuicompressor linebreak="${linebreak}" disableOptimizations="true" todir="${tmp.dir}">
            <fileset dir="${tmp.dir}" includes="all-deps.js"/>
            <mapper type="glob" from="all-deps.js" to="all-deps-min.js"/>
        </yuicompressor>

	</target>

	<target name="process-mamute-js" depends="">
		<echo message="Merging mamute js's..." />
		
		<concat destfile="${tmp.dir}/all-mamute.js">
			<fileset dir="${js.dir}" includes="*.js" 
				excludes="mediakit-plugin.js, mediakit.js, all-deps.js, all-deps-min.js, all.js" />
		</concat>
		
		<echo message="Compressing mamute js's..." />
        <yuicompressor linebreak="${linebreak}" disableOptimizations="true" todir="${tmp.dir}">
            <fileset dir="${tmp.dir}" includes="all-mamute.js"/>
            <mapper type="glob" from="all-mamute.js" to="all-mamute-min.js"/>
        </yuicompressor>
	</target>
	
	<target name="merge-all-js" depends="">
		<echo message="Merging mamute + deps js's..." />
		
		<concat destfile="${webapp.target.dir}/js/all-${timestamp}.js">
			<fileset dir="${tmp.dir}" includes="all-deps-min.js" />
			<fileset file="${js.deps.dir}/prettify.js"/>
			<fileset dir="${js.deps.dir}" includes="feather.js" />
			<fileset dir="${tmp.dir}" includes="all-mamute-min.js" />
		</concat>
		
	</target>
	
	<target name="merge-jquery-plugins" depends="">
		<echo message="Merging jquery plugins..." />
		<mkdir dir="${js.dir}/jquery/"/>
		<concat fixlastline="yes" destfile="${webapp.target.dir}/js/jquery/jquery-plugins-${timestamp}.js">
			<fileset file="${js.deps.dir}/picker.js"/>			
			<fileset file="${js.deps.dir}/picker.date.js"/>		
			<fileset file="${js.deps.dir}/translations/pt_BR.js"/>
			<fileset file="${js.deps.dir}/jquery.validate.min.js"/>
			<fileset file="${js.deps.dir}/jquery.joyride-2.0.3.js"/>
			<fileset file="${js.deps.dir}/diff_match_patch.js"/>
			<fileset file="${js.deps.dir}/pretty-text-diff.js"/>
		</concat>
	</target>


</project>

{'fraction_non_alphanumeric': 0.23419634643185702, 'fraction_numerical': 0.003154159547903798, 'mean_word_length': 3.7414330218068534, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 0, '>': 163, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2591765', 'n_tokens_mistral': 3065, 'n_tokens_neox': 2778, 'n_words': 392}