From 70f03b2c9b9df48eb1e33be8aa603721b09297ef Mon Sep 17 00:00:00 2001 From: Eugen Minciu Date: Sun, 28 Dec 2014 21:46:57 +0200 Subject: [PATCH] Output build to the base directory by default. Make nimble build output to the directory where the .nimble file resides by default. --- src/nimblepkg/packageinfo.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimblepkg/packageinfo.nim b/src/nimblepkg/packageinfo.nim index 9ac78b0..4e2e59b 100644 --- a/src/nimblepkg/packageinfo.nim +++ b/src/nimblepkg/packageinfo.nim @@ -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``