<commit_before><?xml version="1.0"?>
<!--
  =======================================================================

   Basic App Example build file

   Copyright (c) 2014 Innomatic Company. All rights reserved.

  =======================================================================
-->
<project name="Basic App Example" default="build">

	<property name="name" value="example-basic-app" />
	<property name="version" value="1.0.0" />

     <target name="init" depends="initdir">
    </target>
	
	<target name="initdir">
        <!-- Create the source directory -->
        <mkdir dir="source" />

        <!-- Create the different build directories -->
        <mkdir dir="build" />
	</target>

	<target name="clean">
		<!-- Remove old builds -->
		<delete>
			<fileset dir="${basedir}/build" includes="**.*" />
		</delete>
	</target>

	<target name="package" depends="initdir,clean">
		<tar destfile="${basedir}/build/${name}-${version}.tgz" compression="gzip">
			<tarfileset dir="${basedir}/source" prefix="${name}">
				<exclude name="build/**" />
				<exclude name="project.index" />
				<exclude name=".project" />
				<exclude name=".settings/**" />
				<exclude name=".cache/**" />
				<exclude name="build.xml" />
			</tarfileset>
		</tar>
	</target>

	 <!--
    The default build target for this project. It simply depends on all sub tasks
    that perform the project build. The sub targets are executed in the listed
    order.
    -->
	<target name="build" depends="init,clean,package" />

	<target name="dev" depends="build">
        <exec executable="scp">
            <arg value="${basedir}/build/${name}-${version}.tgz" />
            <arg value="innomatic-dev:/tmp/" />
        </exec>

        <exec executable="ssh">
            <arg value="innomatic-dev" />
            <arg value="-C" />
            <arg value="php" />
            <arg value="/vagrant/dev/innomatic/core/scripts/application.php" />
            <arg value="deploy" />
            <arg value="/tmp/${name}-${version}.tgz" />
        </exec>
	</target>

</project><commit_msg>Aded vagrant-hostname property<commit_after><?xml version="1.0"?>
<!--
  =======================================================================

   Basic App Example build file

   Copyright (c) 2014 Innomatic Company. All rights reserved.

  =======================================================================
-->
<project name="Basic App Example" default="build">

	<property name="name" value="example-basic-app" />
	<property name="version" value="1.0.0" />
	<!-- Change this parameter if you have a different name in ~/.ssh/config
	     for your Innomatic Vagrant machine in development environment. -->
	<property name="vagrant-hostname" value="innomatic-vagrant" />

     <target name="init" depends="initdir">
    </target>
	
	<target name="initdir">
        <!-- Create the source directory -->
        <mkdir dir="source" />

        <!-- Create the different build directories -->
        <mkdir dir="build" />
	</target>

	<target name="clean">
		<!-- Remove old builds -->
		<delete>
			<fileset dir="${basedir}/build" includes="**.*" />
		</delete>
	</target>

	<target name="package" depends="initdir,clean">
		<tar destfile="${basedir}/build/${name}-${version}.tgz" compression="gzip">
			<tarfileset dir="${basedir}/source" prefix="${name}">
				<exclude name="build/**" />
				<exclude name="project.index" />
				<exclude name=".project" />
				<exclude name=".settings/**" />
				<exclude name=".cache/**" />
				<exclude name="build.xml" />
			</tarfileset>
		</tar>
	</target>

	 <!--
    The default build target for this project. It simply depends on all sub tasks
    that perform the project build. The sub targets are executed in the listed
    order.
    -->
	<target name="build" depends="init,clean,package" />

	<target name="dev" depends="build">
        <exec executable="scp">
            <arg value="${basedir}/build/${name}-${version}.tgz" />
            <arg value="innomatic-dev:/tmp/" />
        </exec>

        <exec executable="ssh">
            <arg value="${vagrant-hostname}" />
            <arg value="-C" />
            <arg value="php" />
            <arg value="/vagrant/dev/innomatic/core/scripts/application.php" />
            <arg value="deploy" />
            <arg value="/tmp/${name}-${version}.tgz" />
        </exec>
	</target>

</project>
{'fraction_non_alphanumeric': 0.2419871794871795, 'fraction_numerical': 0.004120879120879121, 'mean_word_length': 2.936036036036036, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 2, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2983215', 'n_tokens_mistral': 1361, 'n_tokens_neox': 1204, 'n_words': 301}