summaryrefslogtreecommitdiff
path: root/platform/javascript
diff options
context:
space:
mode:
authorRhody Lugo <rhodylugo@gmail.com>2017-11-28 16:27:57 -0400
committerRhody Lugo <rhodylugo@gmail.com>2017-11-28 23:24:12 -0400
commita65c0939fd1adc616275ad01996917fab89a7b9c (patch)
tree60fb5469a28c4ec482b8d3b9cad183daa1b654d1 /platform/javascript
parent24baf79c5e30b75f8370c24239a00085d7ad803f (diff)
disable caching for targets using helper functions
Diffstat (limited to 'platform/javascript')
-rw-r--r--platform/javascript/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub
index 8d505a5829..05992ebac8 100644
--- a/platform/javascript/SCsub
+++ b/platform/javascript/SCsub
@@ -22,7 +22,7 @@ for x in javascript_files:
env.Append(LINKFLAGS=["-s", "EXPORTED_FUNCTIONS=\"['_main','_main_after_fs_sync','_send_notification']\""])
target_dir = env.Dir("#bin")
-build = env.Program(['#bin/godot', target_dir.File('godot' + env['PROGSUFFIX'] + '.wasm')], javascript_objects, PROGSUFFIX=env['PROGSUFFIX'] + '.js');
+build = env.add_program(['#bin/godot', target_dir.File('godot' + env['PROGSUFFIX'] + '.wasm')], javascript_objects, PROGSUFFIX=env['PROGSUFFIX'] + '.js');
js_libraries = []
js_libraries.append(env.File('http_request.js'))