Skip to content

Commit

Permalink
windows exe
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Jun 4, 2024
1 parent 654cf24 commit 4156da8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nimbus.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ task test_import, "Run block import test":
if dirExists(tmp):
echo "Remove directory before running test: " & tmp
quit(QuitFailure)
if not fileExists("build/nimbus"):

const nimbus = when defined(windows):
"build/nimbus.exe"
else:
"build/nimbus"

if not fileExists(nimbus):
echo "Build nimbus before running this test"
quit(QuitFailure)

Expand Down

0 comments on commit 4156da8

Please sign in to comment.