-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error when running 'knit' task - "TEST must be preceded by knitted file" #38
Comments
Okay I figured it out! The filename should be prefixed with wrong: > You can get the full code [here](../modules/my-project-knit/example/plain-class-with-primitive-fields-01.kt). right: > You can get the full code [here](../modules/ts-generator-knit/example/example-plain-class-primitive-fields-01.kt). This is documented in the README, but it's buried in the middle of a section so it's not easy to see.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been trying to set up Knit, based on the README and what I can see in Kotlinx Serialization. However I get an error.
I'd like to know what the minimal example is. I found the README quite dense and difficult to read - I'd really like a small example, just to get started.
I'm using version 0.3.0, but I don't see that documented. Is this the correct version to use?
I have a multi-project Gradle project. There's
:modules:core
(which I want to document),:modules:knit
where I've applied the knit plugin, and the./docs
directory with a markdown filebasic-classes.md
and aknit.properties
I also created a
basic-classes.md
file, with what I think is a minimal example.In
./modules/my-project-knit/build.gradle.kts
I apply the knit plugin, as well as the Kotlin JVM plugin.But when I run the 'knit' task, I get an error
The text was updated successfully, but these errors were encountered: