2020-03-20 21:23:45 +03:00
|
|
|
#!/usr/bin/env python3
|
2018-09-14 21:08:09 +03:00
|
|
|
# Copyright 2011 The Emscripten Authors. All rights reserved.
|
|
|
|
# Emscripten is available under two separate licenses, the MIT license and the
|
|
|
|
# University of Illinois/NCSA Open Source License. Both these licenses can be
|
|
|
|
# found in the LICENSE file.
|
2015-12-19 17:21:36 +03:00
|
|
|
|
|
|
|
import sys
|
2020-03-20 21:23:45 +03:00
|
|
|
import emcc
|
2015-12-19 17:21:36 +03:00
|
|
|
|
2020-04-11 05:49:48 +03:00
|
|
|
emcc.run_via_emxx = True
|
2015-12-19 17:21:36 +03:00
|
|
|
|
2018-01-11 23:46:13 +03:00
|
|
|
if __name__ == '__main__':
|
2020-03-20 21:23:45 +03:00
|
|
|
try:
|
|
|
|
sys.exit(emcc.run(sys.argv))
|
|
|
|
except KeyboardInterrupt:
|
|
|
|
emcc.logger.warning('KeyboardInterrupt')
|
|
|
|
sys.exit(1)
|