diff --git a/python/build/pycharm_build.gant b/python/build/pycharm_build.gant index 11f3ae341d2d..76d80bd157b0 100644 --- a/python/build/pycharm_build.gant +++ b/python/build/pycharm_build.gant @@ -87,6 +87,21 @@ def sandbox = "$home/out/pycharm"; setProperty("buildName", "PY-$buildNumber") +def zipSources() { + def sources = "$paths.artifacts/sources.zip" + project.stage("zip sources to $sources") + + ant.delete(file: sources) + ant.zip (destfile: sources) { + fileset (dir: home) { + ["java", "ipr", "iml", "form", "xml", "properties"].each { + include (name: "**/*.$it") + } + exclude (name: "**/testData/**") + } + } +} + target('default': "Build artifacts") { def modules = [ @@ -135,6 +150,8 @@ target('default': "Build artifacts") { exclude(name: "tips") } + zipSources() + def usedJars = new HashSet(); project.clean()