Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Package 'nake' has an incorrect structure #68

@arturtamborski

Description

@arturtamborski

Hi, I've installed nake with nimble and got this warning:

nimble install nake
    Prompt: No local packages.json found, download it from internet? [y/N]
    Answer: y
Downloading Official package list
    Success Package list downloaded.
Downloading https://github.com/fowlmouth/nake using git
   Warning: Package 'nake' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nake.nim', but a file named 'nakefile.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 'nake.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'nake', then move it into a 'nakepkg/' subdirectory. If it's a test file or otherwise not required to build the the package 'nake.nim', prevent its installation by adding `skipFiles = @["nakefile.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
  Verifying dependencies for [email protected]
 Installing [email protected]
   Building nake/nake using c backend
   Success: nake installed successfully.

I think that the structure of nim programs changed in latest version.

Here's some version info:

nimble -v
nimble v0.10.2 compiled at 2019-08-29 08:31:13
nim -v
Nim Compiler Version 0.20.2 [Linux: amd64]
Compiled at 2019-07-17
Copyright (c) 2006-2019 by Andreas Rumpf

Happy to send fix if you think that it's worth fixing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions