Permalink
Browse files

Updated build script to ensure that there are no \n characters in npm…

… files
  • Loading branch information...
1 parent 41b7ba6 commit 3693441eacaef6b650f171cf41fec591d771aa12 Nicholas committed Apr 18, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −1 javascript/build.xml
  2. +1 −1 javascript/build/yuitest/npm/cli.js
View
3 javascript/build.xml
@@ -17,7 +17,8 @@
<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="${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>
<property file="build.properties" />
View
2 javascript/build/yuitest/npm/cli.js
@@ -189,4 +189,4 @@ if (files.length){
TestRunner.run({
groups: options.groups ? options.groups.split(",") : null
-});
+});

0 comments on commit 3693441

Please sign in to comment.