pycharm installer improvements

This commit is contained in:
Dmitry Jemerov
2010-01-12 21:21:08 +03:00
parent a3a05399b5
commit fdf82c0ab3
+20 -1
View File
@@ -159,6 +159,8 @@ target('default': "Build artifacts") {
"$sandbox/layout")
layoutWin(sandbox_win)
buildExe()
ant.echo(message: buildName, file: "$sandbox/layout/build.txt")
@@ -182,7 +184,7 @@ target('default': "Build artifacts") {
installer.nsis_installer(["$sandbox/layout", sandbox_win],
"$home/python/build/strings.nsi",
"$home/python/build/paths.nsi",
"pycharm")
"pycharm", false)
}
String appInfoFile() {
@@ -254,6 +256,10 @@ def layoutFull(Map args, String target) {
}
}
dir("helpers") {
fileset(dir: "$home/python/helpers")
}
def layouts = includeFile("$home/build/scripts/layouts.gant")
layouts.layoutPlugins()
@@ -279,6 +285,19 @@ def layoutFull(Map args, String target) {
}
}
def layoutWin(String target) {
layout(target) {
dir("bin") {
fileset(dir: "$home/bin") {
include(name: "libyjpagent.dll")
}
fileset(dir: "$home/python/build") {
include(name: "pycharm.bat")
}
}
}
}
def set(Map args, String key, Object value) {
if (!args.containsKey(key)) {
args[key] = value