We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92b89a commit a5c386dCopy full SHA for a5c386d
1 file changed
tools/js2c.py
@@ -330,6 +330,10 @@ def JS2C(source, target):
330
def main():
331
natives = sys.argv[1]
332
source_files = sys.argv[2:]
333
+ if source_files[-2] == '-t':
334
+ global TEMPLATE
335
+ TEMPLATE = source_files[-1]
336
+ source_files = source_files[:-2]
337
JS2C(source_files, [natives])
338
339
if __name__ == "__main__":
0 commit comments