summaryrefslogtreecommitdiff
path: root/pre
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-10 12:38:25 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-10 12:38:25 +0100
commit1a78842dfe83dc84d4755cfbc7d014efbee17a57 (patch)
tree1ee3e46131adb55e4017ac671d2eb49c37d9e4d9 /pre
parenteb85f15a0f9d1cb9d7f439f78e39082818fb4f07 (diff)
Remove old build scripts.
Diffstat (limited to 'pre')
-rwxr-xr-xpre29
1 files changed, 0 insertions, 29 deletions
diff --git a/pre b/pre
deleted file mode 100755
index 8a7025a49..000000000
--- a/pre
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/python
-
-import os
-import shutil
-
-def command(c):
- os.system(c)
- print c
-
-def current_version():
- f = open('wscript', 'rw')
- while 1:
- l = f.readline()
- if l == '':
- break
-
- s = l.split()
- if len(s) == 3 and s[0] == "VERSION":
- return s[2][1:-1]
-
- assert(false)
-
-v = current_version()
-
-command("./builds/windows-32")
-shutil.copy(os.path.join('build', 'windows', 'DVD-o-matic %s 32-bit Installer.exe' % v), '.')
-command("./builds/windows-64")
-shutil.copy(os.path.join('build', 'windows', 'DVD-o-matic %s 64-bit Installer.exe' % v), '.')
-command("./waf dist")