Skip to content

Commit

Permalink
changing exec cmd + debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed May 20, 2024
1 parent 88f8340 commit 9b0c8d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vm/bundle/generator.nim
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ proc debug(conf: BundleConfig) =

proc buildExecutable(conf: BundleConfig) =
let currentFolder = getCurrentDir()
echo "currentDir: " & getCurrentDir()
setCurrentDir(TmpFolder)
echo "currentDir became: " & getCurrentDir()

var mode =
if conf.nomini: ""
Expand All @@ -371,7 +373,7 @@ proc buildExecutable(conf: BundleConfig) =
if forceFull:
mode = ""

let (outp, res) = execCmdEx("./build.nims build " & conf.configFile() & " --bundle " & mode & " " & forceFlags & " --log --as " & conf.name)
let (outp, res) = execShellCmd("./build.nims build " & conf.configFile() & " --bundle " & mode & " " & forceFlags & " --log --as " & conf.name)

Check notice on line 376 in src/vm/bundle/generator.nim

View workflow job for this annotation

GitHub Actions / nimlint

[nimlint] src/vm/bundle/generator.nim#L376

Error: 'tuple' expected
Raw output
/github/workspace/src/vm/bundle/generator.nim:376:9:Error: 'tuple' expected
if res != 0:
echo "\tSomething went wrong went building the project..."
echo outp
Expand Down

0 comments on commit 9b0c8d4

Please sign in to comment.