From 24f9fa048659a490e72254c2d27113705717f3e9 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Mon, 7 Feb 2022 09:11:59 -0600 Subject: [PATCH] split config out from build --- .gitignore | 3 ++- src/build.onyx | 3 ++- src/config.onyx.template | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 src/config.onyx.template diff --git a/.gitignore b/.gitignore index 6f518b2..2a82e9b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/src/build.onyx b/src/build.onyx index 9fe3030..bc08fff 100644 --- a/src/build.onyx +++ b/src/build.onyx @@ -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 index 0000000..a396fa5 --- /dev/null +++ b/src/config.onyx.template @@ -0,0 +1,4 @@ +package runtime.vars + + +ONYX_PATH :: "" \ No newline at end of file -- 2.25.1