changeset 844:094342d38c69

fix: old settings
author Sam <sam@basx.dev>
date Sat, 02 Dec 2023 22:26:45 +0700
parents 1c3e74f24db0
children 19b5051d6eb7
files config.nims tests/config.nims
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/config.nims	Sat Dec 02 22:26:26 2023 +0700
+++ b/config.nims	Sat Dec 02 22:26:45 2023 +0700
@@ -11,13 +11,14 @@
 const BUNDLETYPE* {.strdefine.}: string = "dir" # dir, zip, exe
 const RESOURCEROOT* {.strdefine.}: string = "resources"
 
+switch("d", "nimPreviewHashRef")
+switch("experimental", "strictEffects")
+switch("experimental", "strictFuncs")
+switch("nimblePath", "nimbledeps/pkgs2")
+
 task build, "build":
   switch("d", "BUNDLETYPE=" & BUNDLETYPE)
   switch("d", "RESOURCEROOT=" & RESOURCEROOT)
-  switch("d", "nimPreviewHashRef")
-  switch("experimental", "strictEffects")
-  switch("experimental", "strictFuncs")
-  switch("nimblePath", "nimbledeps/pkgs2")
   var buildType = DEBUG
   var platformDir = ""
   if defined(linux):
@@ -123,7 +124,6 @@
   cpDir "src/vulkan_api/output/platform", "src/semicongine/vulkan/platform"
 
 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]:
-  --path:src
   if defined(linux):
     --d:VK_USE_PLATFORM_XLIB_KHR
   if defined(windows):
--- a/tests/config.nims	Sat Dec 02 22:26:26 2023 +0700
+++ b/tests/config.nims	Sat Dec 02 22:26:45 2023 +0700
@@ -1,1 +1,1 @@
-switch("path", "$projectDir/../src")
\ No newline at end of file
+switch("path", "$projectDir/..")