From d7650906edc3d259dcfbd7bdb6da3b5db8c1d296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jukka=20Jyl=C3=A4nki?= Date: Thu, 5 Sep 2013 16:54:15 +0300 Subject: [PATCH] Document EMSDK_DEV env var --- emsdk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emsdk b/emsdk index b44ac1f..2e33bc7 100755 --- a/emsdk +++ b/emsdk @@ -2,7 +2,12 @@ import sys, optparse, subprocess, urllib2, os, os.path, errno, zipfile, string, json, platform, shutil, tarfile +# EMSDK_DEV is a developer mode flag, which, if true, the SDK is downloaded from a 'staging' online source, +# instead of the public source. New releases are first deployed to the staging source for testing, before +# being published to the public. Don't enable this unless you develop EMSDK itself and need to access the +# staging source repository instead. EMSDK_DEV = bool(os.getenv('EMSDK_DEV')) if os.getenv('EMSDK_DEV') != None else False + if EMSDK_DEV and not 'active_path' in sys.argv: print 'EMSDK_DEV active.' emsdk_master_server = 'http://clb.demon.fi/emscripten_dev/'