Run `nim doc` on every file in `src/` to test runnableExamples.

This commit is contained in:
Jabba Laci 2018-10-20 15:11:13 +02:00
parent 6c300a6ef8
commit 954c97c37d
1 changed files with 3 additions and 0 deletions

View File

@ -91,8 +91,11 @@ before_install:
script:
- docker run nimlang/nim nim --version
- docker run -v "$(pwd):/project" -w /project nimlang/nim sh -c "nimble install -dy && nimble test"
# - docker run -v "$(pwd):/project" -w /project nimlang/nim sh -c "find src/ -name '*.nim' -type f -exec nim doc {} \;"
----
Uncomment the last line to test embedded `runnableExamples` blocks.
### Using choosenim
[source,yaml]