Output build to the base directory by default.
Make nimble build output to the directory where the .nimble file resides by default.
This commit is contained in:
parent
0218c1d493
commit
70f03b2c9b
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ proc getOutputOption*(pkgInfo: TPackageInfo, bin: string): string =
|
|||
if pkgInfo.buildDir != "":
|
||||
result = " -o:\"" & pkgInfo.mypath.splitFile.dir / pkgInfo.buildDir / bin & "\""
|
||||
else:
|
||||
result = ""
|
||||
result = " -o:\"" & pkgInfo.mypath.splitFile.dir / bin & "\""
|
||||
|
||||
proc getNameVersion*(pkgpath: string): tuple[name, version: string] =
|
||||
## Splits ``pkgpath`` in the format ``/home/user/.nimble/pkgs/package-0.1``
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue