Re: directory structure for a multi-file project?

2017-10-02 Thread dom96
If this is a binary package then you should just add `skipExt = @["nim"]`.

Re: directory structure for a multi-file project?

2017-10-01 Thread sflennik
Thanks for all the helpful advice. I am trying out this structure: bin docs tests nim.cfg which contains one line: --path:"../project/" test_project.nim test_file1.nim project.nimble project project.nim file.nim private

Re: directory structure for a multi-file project?

2017-10-01 Thread dom96
Either call your directory `myNamePkg` (i.e. with a `pkg` suffix), or add `binDir = "bin"` to your nimble file and compile using `nimble build`, or compile using `nim c --out:myName src/myName`

Re: directory structure for a multi-file project?

2017-10-01 Thread Tiberium
[https://gist.github.com/stisa/09474a952a420448778685507d3fbd51](https://gist.github.com/stisa/09474a952a420448778685507d3fbd51)

Re: directory structure for a multi-file project?

2017-10-01 Thread Arrrrrrrrr
> the compiler cannot find the imports when building the test files even though > I have a nim.cfg file. You can use the compiler option path = "$projectDir".

directory structure for a multi-file project?

2017-10-01 Thread sflennik
How do you set up a directory structure for a multi-file project with test files and doc files? How do you name the files and how do you run tests? I'm trying to follow this page without much luck: [https://github.com/nim-lang/nimble#project-structure](https://github.com/nim-lang/nimble#project