提交 848d1a33 编写于 作者: M Mr.doob

Removed debug version from compile script.

上级 af4c20b3
此差异已折叠。
python build.py --common --includes
python build.py --extras --includes
python build.py --common --debug
python build.py --extras --includes
......@@ -290,11 +290,11 @@ def compress(text):
handle.write(text)
# uncomment to get concatenated JS if you can't figure out Closure compiler errors :|
#f = open( "debug.js" , "w" )
#f.write(text)
#f.close()
out_tuple = tempfile.mkstemp()
# os.system("java -jar yuicompressor-2.4.2.jar %s --type js -o %s --charset utf-8 -v" % (in_tuple[1], out_tuple[1]))
os.system("java -jar compiler.jar --language_in=ECMASCRIPT5 --js %s --js_output_file %s" % (in_tuple[1], out_tuple[1]))
......
#!/bin/sh
python build.py --common
python build.py --common --debug
python build.py --extras
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册