1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-04-16 02:15:43 +02:00

Fix plugin build

This commit is contained in:
Oleg Shpynov 2011-03-10 17:04:42 +03:00
parent c1e519bbcb
commit 734a2df59a

View File

@ -177,10 +177,19 @@
</unzip>
</target>
<target name="build-plugin" depends="build"
description="Creates plugin zip file, which can be distributed using Plugins Manager">
<mkdir dir="${build}/production/IdeaVIM/lib"/>
<copy file="${build}/${project}.jar" todir="${build}/production/IdeaVIM/lib"/>
<mkdir dir="${build}/production/IdeaVIM/help"/>
<copy file="${build}/help.jar" todir="${build}/production/IdeaVIM/help"/>
<zip destfile="${build}/ideaVIM.zip" basedir="${build}/production"/>
</target>
<target name="dist" depends="dist-src, dist-bin" description="Creates the src and bin distribution files"/>
<!-- Prepare layout for plugin distribution and creates zip file which can be published -->
<target name="dist-bin" depends="clean, build" description="Creates a zip file containing the plugin distribution">
<target name="dist-bin" depends="clean, build" description="Creates a zip file containing the plugin sources">
<mkdir dir="dist"/>
<delete dir="${project}-${version}-${idea-version}"/>
<mkdir dir="${project}-${version}-${idea-version}"/>