From 3bd8d1a5486b8e3ddc16290123c058073b7e226c Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 12 Aug 2013 17:30:09 +0100 Subject: [PATCH] make build script only include code/*.js - otherwise temp files can catch you out --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index f3ae396a..5c4cd1c1 100755 --- a/build.py +++ b/build.py @@ -132,7 +132,7 @@ def loaderImage(var): return 'data:image/png;base64,{0}'.format(base64.encodestring(open(fn, 'rb').read()).decode('utf8').replace('\n', '')) def loadCode(ignore): - return '\n\n'.join(map(readfile, glob.glob('code/*'))) + return '\n\n'.join(map(readfile, glob.glob('code/*.js'))) def extractUserScriptMeta(var):