aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 1951095c..c0cc6f21 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -206,3 +206,11 @@ def read_auto_optimize_data(filename):
'overflows_lines': overflows_lines
}
+# Settings
+
+class Dummy: pass
+
+Settings = Dummy() # A global singleton. Not pretty, but nicer than passing |, settings| everywhere
+Settings.save_dir = 0
+Settings.save_JS = 0
+