nimble icon indicating copy to clipboard operation
nimble copied to clipboard

`nimble -l init package` doesnt work

Open UNIcodeX opened this issue 3 years ago • 1 comments

$ nimble -l init test
$ cd test
$ ls
total 4.0K
drwxr-xr-x 2 jedi jedi 3.5K Oct 26 16:49 src
-rw-r--r-- 1 jedi jedi  242 Oct 26 16:49 test.nimble

no nimbledeps folder is present.

UNIcodeX avatar Oct 26 '20 21:10 UNIcodeX

The nimbledeps folder is created in the wrong place. I expected it to be created inside the test folder, but instead, it is created in the parent folder.

On a first look, it seems that In options.nim:297, function setNimbleDir, nimbleDir is set to nimbledeps, ignoring projName.

eulores avatar May 18 '22 17:05 eulores