changeset 273:93becb68cb7a

fix: change due to build-configuration change
author Sam <sam@basx.dev>
date Tue, 30 May 2023 16:59:25 +0700
parents bfcb41211c5b
children c6bfe0eacb5c
files config.nims
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.nims	Tue May 30 16:59:01 2023 +0700
+++ b/config.nims	Tue May 30 16:59:25 2023 +0700
@@ -12,7 +12,8 @@
 const RESOURCEROOT* {.strdefine.}: string = "resources"
 
 task build, "build":
-  switch("path", "src")
+  switch("d", "BUNDLETYPE=" & BUNDLETYPE)
+  switch("d", "RESOURCEROOT=" & RESOURCEROOT)
   switch("mm", "orc")
   switch("experimental", "strictEffects")
   switch("threads", "on")