Commit 09f11c87 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

fixed layout of the generated releases.yaml

parent 0b000b72
......@@ -176,6 +176,10 @@
</target>
<target name="generate-release-yaml" description="Generates a YAML formatted file containing URLs to all released/uploaded plugins" depends="jsplugins">
<length property="flowplayer.filesize" file="${dist-dir}/${dist-name}" />
<length property="flowplayer-commercial.filesize" file="${dist-dir}/${commercial-dist-name}" />
<length property="devkit.filesize" file="${dist-dir}/${devkit-dist-name}" />
<property name="yaml-file" value="${basedir}/dist/releases.yaml" />
<property name="urlbase" value="http://releases.flowplayer.org/" />
<delete file="${yaml-file}" />
......@@ -225,7 +229,13 @@
<echo file="${yaml-file}" append="true" message=" flowplayer: ${version-info}">
</echo>
<echo file="${yaml-file}" append="true" message=" filesizes:">
<echo file="${yaml-file}" append="true" message="filesizes:">
</echo>
<echo file="${yaml-file}" append="true" message=" flowplayer.devkit.zip: ${devkit.filesize}">
</echo>
<echo file="${yaml-file}" append="true" message=" flowplayer.zip: ${flowplayer.filesize}">
</echo>
<echo file="${yaml-file}" append="true" message=" flowplayer.commercial.zip: ${flowplayer-commercial.filesize}">
</echo>
<iterate-plugins target="write-filesize" buildfiles="${allplugins.buildfiles}" />
<iterate-plugins target="write-filesize" buildfiles="${jsplugins.buildfiles}" basedirectory="../js-plugins"/>
......
......@@ -94,7 +94,7 @@
<target name="write-filesize">
<length property="filesize" file="${target.dir}/${basename}-${version}.js" />
<echo file="${yaml-file}" append="true" message=" ${basename}.js: ${filesize}${line.separator}" />
<echo file="${yaml-file}" append="true" message=" ${basename}.js: ${filesize}${line.separator}" />
</target>
<target name="deploy" if="js.deploy.dir">
......
......@@ -314,9 +314,9 @@
<target name="write-filesize">
<length property="filesize" file="${build-dir}/${plugin-binary}" />
<echo file="${yaml-file}" append="true" message=" ${plugin-binary}: ${filesize}${line.separator}" />
<echo file="${yaml-file}" append="true" message=" ${plugin-binary}: ${filesize}${line.separator}" />
<length property="zip.filesize" file="${dist-dir}/${basename}-${version}.zip" />
<echo file="${yaml-file}" append="true" message=" ${basename}.zip: ${zip.filesize}${line.separator}" />
<echo file="${yaml-file}" append="true" message=" ${basename}.zip: ${zip.filesize}${line.separator}" />
</target>
<target name="source-zip" depends="prepare" unless="pluginproxy">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment