split config out from build
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 7 Feb 2022 15:11:59 +0000 (09:11 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 7 Feb 2022 15:11:59 +0000 (09:11 -0600)
.gitignore
src/build.onyx
src/config.onyx.template [new file with mode: 0644]

index 6f518b27a4ae93cea2a4faa003660c5abe440c0f..2a82e9b0c4425b685114472e68ca1dee4e2bb812 100644 (file)
@@ -1,3 +1,4 @@
 *.code-workspace
 *.sublime-project
-*.sublime-workspace
\ No newline at end of file
+*.sublime-workspace
+src/config.onyx
\ No newline at end of file
index 9fe3030f078e7f672ce66819af214519da9944d0..bc08fffa9a8ffb206e28b2e2ff956d1a15397ce5 100644 (file)
@@ -7,12 +7,13 @@ MINOR_VERSION :: 1
 DEBUG :: false
 
 
-#load_path "/home/brendan/dev/onyx"
+#load_path ONYX_PATH
 #load_path "./../lib"
 #library_path "./lib"
 
 #load "core/std"
 
+#load "config"
 #load "main"
 
 #load "entity/editor"
diff --git a/src/config.onyx.template b/src/config.onyx.template
new file mode 100644 (file)
index 0000000..a396fa5
--- /dev/null
@@ -0,0 +1,4 @@
+package runtime.vars
+
+
+ONYX_PATH :: ""
\ No newline at end of file