1 Star 0 Fork 6

魏大伟/The-Powder-Toy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
SConstruct 533 Bytes
一键复制 编辑 原始数据 按行查看 历史
#run generator.py
if not GetOption('clean'):
execfile("generator.py")
AddOption('--builddir',dest="builddir",default="build",help="Directory to build to.")
SConscript('SConscript', variant_dir=GetOption('builddir'), duplicate=0)
if GetOption('clean'):
import os, shutil
try:
shutil.rmtree(".sconf_temp/")
except:
print "couldn't remove .sconf_temp/"
try:
shutil.rmtree("generated/")
except:
print "couldn't remove generated/"
try:
os.remove(".sconsign.dblite")
except:
print "couldn't remove .sconsign.dblite"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/davidmr/the-powder-toy.git
git@gitee.com:davidmr/the-powder-toy.git
davidmr
the-powder-toy
The-Powder-Toy
master

搜索帮助