summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-27 23:06:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-27 23:06:49 (GMT)
commitba717874781a33ea40a1aea1ad8b9efce3580fc2 (patch)
tree494841bb31cc679902e55eeec0640bc21271015d /Swift/SConscript
parent05fa7a57b3c7df3a9cc717cba202c96be05fa21a (diff)
downloadswift-ba717874781a33ea40a1aea1ad8b9efce3580fc2.zip
swift-ba717874781a33ea40a1aea1ad8b9efce3580fc2.tar.bz2
Use new versioning scheme.
Development builds are now X.Y.Z.date (Assuming we'll never have more than patch releases). The Swift version number has to be changed in Swift/SConscript (and only there), or can be passed via the command line as swift_version=myversion
Diffstat (limited to 'Swift/SConscript')
-rw-r--r--Swift/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/SConscript b/Swift/SConscript
index 75db94d..32f9b64 100644
--- a/Swift/SConscript
+++ b/Swift/SConscript
@@ -1,8 +1,13 @@
+import datetime
+
Import("env")
if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) :
print "Error: Swift requires OpenSSL support, and OpenSSL was not found."
Exit(1)
+
+env["SWIFT_VERSION"] = "0.9.9." + datetime.date.today().strftime("%Y%m%d")
+
SConscript("Controllers/SConscript")
SConscript("QtUI/SConscript")