Skip to content

Commit

Permalink
Updated build script to ensure that there are no \n characters in npm…
Browse files Browse the repository at this point in the history
… files
  • Loading branch information
Nicholas committed Apr 18, 2011
1 parent 41b7ba6 commit 3693441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion javascript/build.xml
Expand Up @@ -17,7 +17,8 @@
<mkdir dir="${global.build.npm}/lib"/> <mkdir dir="${global.build.npm}/lib"/>
<copy file="${global.build.base}/yuitest/yuitest-node.js" tofile="${global.build.npm}/lib/yuitest-node.js"/> <copy file="${global.build.base}/yuitest/yuitest-node.js" tofile="${global.build.npm}/lib/yuitest-node.js"/>
<copy file="${component.jsfiles.base}/nodejs/cli.js" tofile="${global.build.npm}/cli.js"/> <copy file="${component.jsfiles.base}/nodejs/cli.js" tofile="${global.build.npm}/cli.js"/>

<!-- Unix can't deal with errant \n characters, to double-check here -->
<fixcrlf srcdir="${global.build.npm}" includes="**/*.js" eol="lf"/>
</target> </target>


<property file="build.properties" /> <property file="build.properties" />
Expand Down
2 changes: 1 addition & 1 deletion javascript/build/yuitest/npm/cli.js
Expand Up @@ -189,4 +189,4 @@ if (files.length){


TestRunner.run({ TestRunner.run({
groups: options.groups ? options.groups.split(",") : null groups: options.groups ? options.groups.split(",") : null
}); });

0 comments on commit 3693441

Please sign in to comment.