Run `nim doc` on every file in `src/` to test runnableExamples.
This commit is contained in:
parent
6c300a6ef8
commit
954c97c37d
|
@ -91,8 +91,11 @@ before_install:
|
||||||
script:
|
script:
|
||||||
- docker run nimlang/nim nim --version
|
- 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 "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
|
### Using choosenim
|
||||||
|
|
||||||
[source,yaml]
|
[source,yaml]
|
||||||
|
|
Loading…
Reference in New Issue