mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
49 lines
1.8 KiB
XML
49 lines
1.8 KiB
XML
<project name="PyCharm Community Edition" default="all">
|
|
<property name="project.home" value="${basedir}/.."/>
|
|
<property name="python.home" value="${basedir}"/>
|
|
<property name="out.dir" value="${project.home}/out"/>
|
|
<property name="tmp.dir" value="${project.home}/out/tmp"/>
|
|
<property name="idea.build.number" value="SNAPSHOT"/>
|
|
<property name="idea.path" value=""/>
|
|
|
|
<target name="cleanup">
|
|
<delete dir="${out.dir}" failonerror="false"/>
|
|
</target>
|
|
|
|
<target name="init">
|
|
<mkdir dir="${out.dir}"/>
|
|
<mkdir dir="${tmp.dir}"/>
|
|
</target>
|
|
|
|
<macrodef name="call_gant">
|
|
<attribute name="script" />
|
|
<sequential>
|
|
<java failonerror="true" jar="${project.home}/lib/ant/lib/ant-launcher.jar" fork="true">
|
|
<jvmarg line="-Xmx612m -XX:MaxPermSize=152m -Didea.build.number=${idea.build.number} "-DideaPath=${idea.path}""/>
|
|
<sysproperty key="java.awt.headless" value="true"/>
|
|
<arg line=""-Dgant.script=@{script}""/>
|
|
<arg line=""-Dteamcity.build.tempDir=${tmp.dir}""/>
|
|
<arg line=""-Didea.build.number=${idea.build.number}""/>
|
|
<arg line=""-Didea.test.group=ALL_EXCLUDE_DEFINED""/>
|
|
<arg value="-f"/>
|
|
<arg value="${project.home}/build/gant.xml"/>
|
|
</java>
|
|
</sequential>
|
|
</macrodef>
|
|
|
|
<target name="build" depends="init">
|
|
<call_gant script="${python.home}/build/pycharm_community_build.gant"/>
|
|
</target>
|
|
|
|
<target name="plugin" depends="init">
|
|
<call_gant script="${python.home}/build/python_community_plugin_build.gant"/>
|
|
</target>
|
|
<!--
|
|
<target name="test" depends="init">
|
|
<call_gant script="${project.home}/build/scripts/tests_in_community.gant"/>
|
|
</target>
|
|
-->
|
|
|
|
<target name="all" depends="cleanup,build"/>
|
|
</project>
|