Warning on `nimble install https://github.com/itsumura-h/nim-basolato`
tarunama opened this issue · comments
tarunama commented
summary
Show below warning when execute nimble install https://github.com/itsumura-h/nim-basolato
.
Important warning is This will be an error in the future
.
Warning: Package 'flatdb' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'flatdb.nim', but a file named 'flatdbtable.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'flatdb.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'flatdb', then move it into a 'flatdb/' subdirectory. If it's a test file or otherwise not required to build the the package 'flatdb.nim', prevent its installation by adding `skipFiles = @["flatdbtable.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
solution
Rename flatdb
=> flatdb.nim
But, It was concerned that existing codes written import flatdb
in many files.
So, above solution will breaks existing codes.
@itsumura-h
How do you think?
ref
itsumura-h commented
@tarunama
This warning occurs because of flatdb
itself, so there is nothing I can do for basolato
.
Please create issue for flatdb.
https://github.com/enthus1ast/flatdb
tarunama commented
@itsumura-h
Thank you!