Skip to content

Conversation

treeform
Copy link
Contributor

@treeform treeform commented Feb 27, 2018

srcDir moves "root" of your package, but you don't need to.

fixes this error:

C:\Users\me\Dropbox\p\nimwatch\pkgs\github_api> nimble tasks -n
   Warning: File inside package 'github_api' is outside of permitted namespace, should be named 'github_api.nim' but was named 'client.nim' instead. This will be an error in the future.
      Hint: Rename this file to 'github_api.nim', move it into a 'github_api\' subdirectory, or prevent its installation by adding `skipFiles = @["client.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.

srcDir moves "root" of your package, but you don't need to.

fixes this error: ```
C:\Users\me\Dropbox\p\nimwatch\pkgs\github_api> nimble tasks -n
   Warning: File inside package 'github_api' is outside of permitted namespace, should be named 'github_api.nim' but was named 'client.nim' instead. This will be an error in the future.
      Hint: Rename this file to 'github_api.nim', move it into a 'github_api\' subdirectory, or prevent its installation by adding `skipFiles = @["client.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
```
@watzon watzon merged commit 56cb4de into watzon:master Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants