-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: automation script for local Dokka testing #3432
Conversation
testDokka.sh.md
Outdated
### All together | ||
|
||
```bash | ||
./testDokka.sh -d './examples/gradle/dokka-gradle-example' -v "1.9.20-SNAPSHOT" -p 8001 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, it would be nice use for default not real version (for ex. 1.9.10-my-fix-SNAPSHOT
like CONTRIBUTING.md)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And may be do link in contribution.md.
/cc @IgnatBeresnev
bf9ef76
to
afa852d
Compare
afa852d
to
6459dc1
Compare
ee8c593
to
3511bf9
Compare
b9ecf80
to
940f9e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@IgnatBeresnev WDYT regarding mavenLocal
in examples?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oleg pretty much already left the two comments that I had :))
940f9e0
to
50368c4
Compare
50368c4
to
8da8155
Compare
* test: added script for faster dokka testing * docs: added readme for testDokka.sh * test: improved testDokka.sh after review * test: made testDokka start server event with option set -e * test: support multimodule projects * test: add docs * test: move testDokka to /scripts dir
.testDokka.sh makes Dokka development and testing a bit faster
It compiles current Dokka version from the source code,
publishes it to the local Maven repository,
then runs the Dokka documentation generation against the specified project
and finally runs a webserver to open the generated documentation in the browser.
Demo of usage: https://monosnap.com/file/m1xuNF7IVlHXtYUZWovOBduYY3GsER
PS this is a prototype based on the most frequent things I've to do while testing Dokka, it could be improved or done in some other way, let's discuss