Sha256: b66bc111de8c67e634a962f1b4aaa7740f92c1fa9bdad999cc4b45dd8a2087bd

Contents?: true

Size: 570 Bytes

Versions: 8

Compression:

Stored size: 570 Bytes

Contents

#!/usr/bin/env python2

'''
Wrapping the scons invocation, EMSCRIPTEN_TOOL_PATH is set in the process
environment, and can be used to locate the emscripten SCons Tool.
Example:
# Load emscripten Tool
my_env = Environment(tools=['emscripten'], toolpath=[os.environ['EMSCRIPTEN_TOOL_PATH']])
'''

import os, subprocess, sys
from tools import shared

tool_path = os.path.join(shared.path_from_root('tools'), 'scons', 'site_scons', 'site_tools', 'emscripten')

env = os.environ.copy()
env[ 'EMSCRIPTEN_TOOL_PATH' ] = tool_path

exit(subprocess.call(sys.argv[1:], env=env))

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webruby-0.2.7 modules/emscripten/emscons
webruby-0.2.5 modules/emscripten/emscons
webruby-0.2.4 modules/emscripten/emscons
webruby-0.2.2 modules/emscripten/emscons
webruby-0.2.1 modules/emscripten/emscons
webruby-0.1.2 modules/emscripten/emscons
webruby-0.1.1 modules/emscripten/emscons
webruby-0.1.0 modules/emscripten/emscons