The new nimble develop (from devel) works differently then the old one.
What i want to do is:
work on a module, that is imported into another module.
Module A has a nimble file.
require "moduleb"
cd moduleb`
nimble develop --global
cd modulea
nimble runr # its a nico application
#...
Installing moduleb@any version
Tip: 26 messages have been suppressed, use --verbose to show them.
nimble.nim(685) getDownloadInfo
Error: Package moduleb@any version not found.
.
when i clear the nimble dirs by hand and try it again:
cd moduleb`
nimble develop --global
nimble install
then it is picked up by modulea BUT it is then installed:
C:\Users\david\.nimble\pkgs2\moduleb-0.2.0-3a1cda21542c472911ab6a18bda285345c87e256\particlesystem.nim
And it does not pick up changes to the development directory. So this is pretty much useless. Any idea how this could work?
When i create a nimble.devlop file per hand in moduleA's directory
modulea/nimble.develop
with the content of
{
"version": 1,
"includes": [],
"dependencies": ["C:\\Users\\david\\projects\\moduleb\\"]
}
or
{
"version": 1,
"includes": [],
"dependencies": ["C:/Users/david/projects/moduleb/"]
}
or
{
"version": 1,
"includes": [],
"dependencies": ["C:/Users/david/projects/moduleb/moduleb.nimble"]
}
it does not work. So it seems nimble develop is broken.