<commit_before><project name="SalesforceMobileSDK-iOS-Package" basedir="." default="makeNpm">
    <import file="build.xml" />
    <property name="npmRepoLocation" location="${artifactsDir}/npm_repo" />
    <property name="npmRepoBranch" value="unstable20" />
    
    <target name="makeNpm" depends="nativeAppTemplate,hybridAppTemplate">
        <!-- Stage the iOS npm repo -->
        <echo>--- Cloning the npm repo at branch '${npmRepoBranch}' ---</echo>
        <delete dir="${npmRepoLocation}" />
        <exec executable="git" failonerror="true" logError="true">
            <arg value="clone" />
            <arg value="--branch" />
            <arg value="${npmRepoBranch}" />
            <arg value="--recursive" />
            <arg value="https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Package.git" />
            <arg file="${npmRepoLocation}" />
        </exec>
        
        <!-- Create and copy the template shells -->
        <antcall target="nativeAppTemplateShell" />
        <antcall target="hybridAppTemplateShell" />
        <delete dir="${npmRepoLocation}/Templates/NativeAppTemplate" />
        <delete dir="${npmRepoLocation}/Templates/HybridAppTemplate" />
        <copy todir="${npmRepoLocation}/Templates/NativeAppTemplate">
            <fileset dir="${destNativeTemplateDir}" />
        </copy>
        <copy todir="${npmRepoLocation}/Templates/HybridAppTemplate">
            <fileset dir="${destHybridTemplateDir}" />
        </copy>
        <chmod file="${npmRepoLocation}/Templates/NativeAppTemplate/${destAppCreationScriptName}" perm="755" />
        <chmod file="${npmRepoLocation}/Templates/HybridAppTemplate/${destAppCreationScriptName}" perm="755" />
        
        <!-- Copy binary packages -->
        <copy todir="${npmRepoLocation}/Dependencies">
            <fileset dir="${artifactsDir}">
                <include name="Salesforce*-Release.zip" />
            </fileset>
        </copy>
        <copy file="${artifactsDir}/Cordova-Release.zip" todir="${npmRepoLocation}/Dependencies/Cordova" />
        
        <!-- Copy resources -->
        <copy todir="${npmRepoLocation}/Dependencies/${sdkResourcesBundleName}">
            <fileset dir="${sharedResourcesDir}/${sdkResourcesBundleName}" />
        </copy>
        <copy todir="${npmRepoLocation}/Dependencies/Cordova/${cordovaCaptureBundleName}">
            <fileset dir="${sharedHybridDir}/${cordovaCaptureBundleName}" />
        </copy>
        <copy file="${sharedHybridDir}/${cordovaLibraryName}" todir="${npmRepoLocation}/Dependencies/Cordova" />
        <copy file="${sharedHybridDir}/${cordovaConfigXmlName}" todir="${npmRepoLocation}/Dependencies/Cordova" />
        
        <!-- Make the npm package -->
        <echo>--- Creating the npm package ---</echo>
        <exec dir="${artifactsDir}" executable="npm">
            <arg value="pack" />
            <arg file="${npmRepoLocation}" />
        </exec>
    </target>
</project><commit_msg>Normalizing build_npm.xml with the unstable updates<commit_after><project name="SalesforceMobileSDK-iOS-Package" basedir="." default="makeNpm">
    <import file="build.xml" />
    <property name="npmRepoLocation" location="${artifactsDir}/npm_repo" />
    <property name="npmRepoBranch" value="master" />
    
    <target name="makeNpm" depends="nativeAppTemplate,hybridAppTemplate">
        <!-- Stage the iOS npm repo -->
        <echo>--- Cloning the npm repo at branch '${npmRepoBranch}' ---</echo>
        <delete dir="${npmRepoLocation}" />
        <exec executable="git" failonerror="true" logError="true">
            <arg value="clone" />
            <arg value="--branch" />
            <arg value="${npmRepoBranch}" />
            <arg value="--recursive" />
            <arg value="https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Package.git" />
            <arg file="${npmRepoLocation}" />
        </exec>
        
        <!-- Create and copy the template shells -->
        <antcall target="nativeAppTemplateShell" />
        <antcall target="hybridAppTemplateShell" />
        <delete dir="${npmRepoLocation}/Templates/NativeAppTemplate" />
        <delete dir="${npmRepoLocation}/Templates/HybridAppTemplate" />
        <copy todir="${npmRepoLocation}/Templates/NativeAppTemplate">
            <fileset dir="${destNativeTemplateDir}" />
        </copy>
        <copy todir="${npmRepoLocation}/Templates/HybridAppTemplate">
            <fileset dir="${destHybridTemplateDir}" />
        </copy>
        <chmod file="${npmRepoLocation}/Templates/NativeAppTemplate/${destAppCreationScriptName}" perm="755" />
        <chmod file="${npmRepoLocation}/Templates/HybridAppTemplate/${destAppCreationScriptName}" perm="755" />
        
        <!-- Copy binary packages -->
        <copy todir="${npmRepoLocation}/Dependencies" overwrite="true">
            <fileset dir="${artifactsDir}">
                <include name="Salesforce*-Release.zip" />
            </fileset>
        </copy>
        <copy file="${artifactsDir}/Cordova-Release.zip" todir="${npmRepoLocation}/Dependencies/Cordova" overwrite="true" />
        
        <!-- Copy resources -->
        <copy todir="${npmRepoLocation}/Dependencies/${sdkResourcesBundleName}" overwrite="true">
            <fileset dir="${sharedResourcesDir}/${sdkResourcesBundleName}" />
        </copy>
        <copy todir="${npmRepoLocation}/Dependencies/Cordova/${cordovaCaptureBundleName}" overwrite="true">
            <fileset dir="${sharedHybridDir}/${cordovaCaptureBundleName}" />
        </copy>
        <copy file="${sharedHybridDir}/${cordovaLibraryName}" todir="${npmRepoLocation}/Dependencies/Cordova" overwrite="true" />
        <copy file="${sharedHybridDir}/${cordovaConfigXmlName}" todir="${npmRepoLocation}/Dependencies/Cordova" overwrite="true" />
        
        <!-- Make the npm package -->
        <echo>--- Creating the npm package ---</echo>
        <exec dir="${artifactsDir}" executable="npm">
            <arg value="pack" />
            <arg file="${npmRepoLocation}" />
        </exec>
    </target>
</project>
{'fraction_non_alphanumeric': 0.16710656548993733, 'fraction_numerical': 0.0023094688221709007, 'mean_word_length': 2.8544183089637634, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '6050489', 'n_tokens_mistral': 1701, 'n_tokens_neox': 1642, 'n_words': 270}