| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -330,6 +330,10 @@ def JS2C(source, target): | |||
| 330 | 330 | def main(): | |
| 331 | 331 | natives = sys.argv[1] | |
| 332 | 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] | ||
| 333 | 337 | JS2C(source_files, [natives]) | |
| 334 | 338 | ||
| 335 | 339 | if __name__ == "__main__": | |
| Back | FazBrowse Home | New Git URL |
0 commit comments