summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-28 19:56:17 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-28 19:56:51 (GMT)
commitca35957a3090dc38cfb71496e9d2d4016bb1bc9b (patch)
tree008bedd0de3e98be046524f572a196eadbe5e1ba /SConstruct
parent17444b1ad6e3a14b3fb3c194ba60042ad29c2c03 (diff)
downloadswift-contrib-ca35957a3090dc38cfb71496e9d2d4016bb1bc9b.zip
swift-contrib-ca35957a3090dc38cfb71496e9d2d4016bb1bc9b.tar.bz2
Add SCons tool to dump build version in a file.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 9b78112..833f3f0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,4 +1,5 @@
import sys, os
+sys.path.append(Dir("BuildTools/SCons").abspath)
################################################################################
# Build variables
@@ -33,6 +34,8 @@ Help(vars.GenerateHelpText(env))
env.Alias("dist", ["."])
# Default custom tools
+env.Tool("WriteVal", toolpath = ["#/BuildTools/SCons/Tools"])
+env.Tool("BuildVersion", toolpath = ["#/BuildTools/SCons/Tools"])
if env["PLATFORM"] == "darwin" :
env.Tool("Nib", toolpath = ["#/BuildTools/SCons/Tools"])
env.Tool("AppBundle", toolpath = ["#/BuildTools/SCons/Tools"])