Skip to content

Commit

Permalink
fix test path
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Apr 21, 2024
1 parent fb9fc09 commit aca9669
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion examples/config.nims
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
--path:"../src"
switch("path", "$projectDir/../src")

import std/os

const explicitSourcePath {.strdefine.} = getCurrentCompilerExe().parentDir.parentDir
switch "path", explicitSourcePath
8 changes: 6 additions & 2 deletions tests/config.nims
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
--path:"../src"
switch("mm", "refc")
switch("path", "$projectDir/../src")

import std/os

const explicitSourcePath {.strdefine.} = getCurrentCompilerExe().parentDir.parentDir
switch "path", explicitSourcePath

0 comments on commit aca9669

Please sign in to comment.