summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-13 12:53:45 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-13 12:53:45 (GMT)
commit594ed40431c1b30e65cdb87e39c9ec058785261a (patch)
treeeba5ed0f5cf274eb53f851c590842023086a96ce /BuildTools/SCons
parent1f6119ec3e29e27442eaf623f3b1d091cf6ef5ec (diff)
downloadswift-contrib-594ed40431c1b30e65cdb87e39c9ec058785261a.zip
swift-contrib-594ed40431c1b30e65cdb87e39c9ec058785261a.tar.bz2
Made NSIS build status pretty.
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/Tools/nsis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/SCons/Tools/nsis.py b/BuildTools/SCons/Tools/nsis.py
index 07ef045..567876d 100644
--- a/BuildTools/SCons/Tools/nsis.py
+++ b/BuildTools/SCons/Tools/nsis.py
@@ -13,7 +13,7 @@ def generate(env) :
Builder = SCons.Builder.Builder
env['NSIS_MAKENSIS'] = 'makensis'
- env['NSIS_OPTIONS'] = ''
+ env['NSIS_OPTIONS'] = ["/V2"]
def winToLocalReformat(path) :
return os.path.join(*path.split("\\"))
def scanNsisContent(node, env, path, arg):
@@ -26,7 +26,7 @@ def generate(env) :
argument = None,
skeys = ['.nsi'])
nsisbuilder = Builder(
- action = '$NSIS_MAKENSIS $NSIS_OPTIONS $SOURCE',
+ action = SCons.Action.Action('$NSIS_MAKENSIS $NSIS_OPTIONS $SOURCE', cmdstr = '$NSISCOMSTR'),
source_scanner = nsisscanner,
single_source = True
)