From d8cc22ce80d739c54911f8fd40833eb3df27c08d Mon Sep 17 00:00:00 2001
From: Hyperling <me@hyperling.com>
Date: Fri, 25 Apr 2025 08:19:41 -0700
Subject: [PATCH] Create locals file for local configuration and testing
 variables. Move variable-based files to a var folder.

---
 .gitignore                         | 3 +++
 lib/var/locals.dart.EXAMPLE        | 3 +++
 lib/{ => var}/secrets.dart.EXAMPLE | 0
 3 files changed, 6 insertions(+)
 create mode 100644 lib/var/locals.dart.EXAMPLE
 rename lib/{ => var}/secrets.dart.EXAMPLE (100%)

diff --git a/.gitignore b/.gitignore
index 9eed36f..a99e512 100644
--- a/.gitignore
+++ b/.gitignore
@@ -245,3 +245,6 @@ app.*.map.json
 
 # Do not post secrets!
 secrets.dart
+
+# Keep locals local.
+locals.dart
diff --git a/lib/var/locals.dart.EXAMPLE b/lib/var/locals.dart.EXAMPLE
new file mode 100644
index 0000000..ebcea57
--- /dev/null
+++ b/lib/var/locals.dart.EXAMPLE
@@ -0,0 +1,3 @@
+// This file needs renamed `local.dart` if implemented.
+
+const bool debug = false;
diff --git a/lib/secrets.dart.EXAMPLE b/lib/var/secrets.dart.EXAMPLE
similarity index 100%
rename from lib/secrets.dart.EXAMPLE
rename to lib/var/secrets.dart.EXAMPLE