mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-03 04:52:35 +02:00
Ditch element and tool classes
This commit is contained in:
10
SConstruct
10
SConstruct
@@ -1,13 +1,3 @@
|
||||
import sys
|
||||
#run generator.py
|
||||
if not GetOption('clean'):
|
||||
if sys.version_info[0] < 3:
|
||||
execfile("generator.py")
|
||||
else:
|
||||
with open("generator.py") as f:
|
||||
code = compile(f.read(), "generator.py", 'exec')
|
||||
exec(code)
|
||||
|
||||
AddOption('--builddir',dest="builddir",default="build",help="Directory to build to.")
|
||||
SConscript('SConscript', variant_dir=GetOption('builddir'), duplicate=0)
|
||||
if GetOption('clean'):
|
||||
|
Reference in New Issue
Block a user