<commit_before><project name="tinywebtex" default="build">
  <property name="project.version" value="0.1.0"/>
  
  <tstamp>
    <format property="project.builddate" pattern="yyyy-MM-dd"/>
  </tstamp>

  <target name="minify">
    <apply executable="java" parallel="false" dest=".">
      <fileset dir="." includes="**/*.js" />
      <arg line="-jar"/>
      <arg path="lib/yuicompressor-2.4.7.jar" />
      <arg line="-v"/>
      <srcfile/>
      <arg line="-o"/> 
      <mapper type="glob" from="*_src.js" to="*.js"/>
      <targetfile/>
    </apply>

    <apply executable="java" parallel="false" dest=".">
      <fileset dir="." includes="**/*.css" />
      <arg line="-jar"/>
      <arg path="lib/yuicompressor-2.4.7.jar" />
      <arg line="-v"/>
      <srcfile/>
      <arg line="-o"/> 
      <mapper type="glob" from="*_src.css" to="*.css"/>
      <targetfile/>
    </apply>
  </target>

  <target name="build" depends="minify" description="Build the distribution">
    <zip destfile="${ant.project.name}-${project.version}.zip">
        <zipfileset prefix="${ant.project.name}-${project.version}" dir="." includes="tinywebtex/**/*"/>
        <zipfileset prefix="${ant.project.name}-${project.version}" dir="." includes="*.md"/>
    </zip>
  </target>

  <target name="clean" description="Remove build ouput">
    <delete dir="build"/>
    <delete>
      <fileset dir="." includes="**/*~" defaultexcludes="false"/>
      <fileset dir="." includes="*.zip"/>
    </delete>
  </target>
</project>
<commit_msg>Clean out minified js on clean.<commit_after><project name="tinywebtex" default="build">
  <property name="project.version" value="0.1.0"/>
  
  <tstamp>
    <format property="project.builddate" pattern="yyyy-MM-dd"/>
  </tstamp>

  <target name="minify">
    <apply executable="java" parallel="false" dest=".">
      <fileset dir="." includes="**/*.js" />
      <arg line="-jar"/>
      <arg path="lib/yuicompressor-2.4.7.jar" />
      <arg line="-v"/>
      <srcfile/>
      <arg line="-o"/> 
      <mapper type="glob" from="*_src.js" to="*.js"/>
      <targetfile/>
    </apply>

    <apply executable="java" parallel="false" dest=".">
      <fileset dir="." includes="**/*.css" />
      <arg line="-jar"/>
      <arg path="lib/yuicompressor-2.4.7.jar" />
      <arg line="-v"/>
      <srcfile/>
      <arg line="-o"/> 
      <mapper type="glob" from="*_src.css" to="*.css"/>
      <targetfile/>
    </apply>
  </target>

  <target name="build" depends="minify" description="Build the distribution">
    <zip destfile="${ant.project.name}-${project.version}.zip">
        <zipfileset prefix="${ant.project.name}-${project.version}" dir="." includes="tinywebtex/**/*"/>
        <zipfileset prefix="${ant.project.name}-${project.version}" dir="." includes="*.md"/>
    </zip>
  </target>

  <target name="clean" description="Remove build ouput">
    <delete dir="build"/>
    <delete>
      <fileset dir="." includes="**/*~" defaultexcludes="false"/>
      <fileset dir="." includes="*.zip"/>
      <fileset dir="." includes="**/*.js" excludes="**/*_src.js"/>
    </delete>
  </target>
</project>

{'fraction_non_alphanumeric': 0.23722275795564127, 'fraction_numerical': 0.0057859209257473485, 'mean_word_length': 3.0051480051480053, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 86, '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': '37986', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1042, 'n_words': 197}