Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed build.xml file for npm build

  • Loading branch information...
commit 6fba55799a667907101ae6896621974e3edc7eda 1 parent 7153a0f
@davglass davglass authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  javascript/build.xml
View
3  javascript/build.xml
@@ -19,8 +19,10 @@
<!-- override to make npm package -->
<target name="npmbuild" depends="all">
+ <delete dir="${global.build.npm}"/>
<echo>Creating NPM package directory</echo>
<mkdir dir="${global.build.npm}"/>
+ <echo>Copying package.json file over and setting version number</echo>
<copy file="${component.npm.base}/package.json" tofile="${global.build.npm}/package.json">
<filterchain>
<replacetokens>
@@ -40,6 +42,7 @@
<echo>Setting Version</echo>
<replace dir="${global.build.base}/yuitest/">
<include name="**/*.js"/>
+ <include name="**/*.json"/>
<replacefilter token="@VERSION@" value="${version.release}"/>
</replace>
Please sign in to comment.
Something went wrong with that request. Please try again.