-
Notifications
You must be signed in to change notification settings - Fork 28
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
Creates target/doc
in the wrong directory
#38
Comments
thanks for filing the issue. You are right "cargo test" should not generate the file target/doc/mermaid.min.js. In fact the file should be created only and only if invoking "cargo doc" No file should be created invoking "cargo test" as the tests do not require the JS package. |
Fixing this issue https://github.com/mersinvald/aquamarine/pull/36/commits
|
has been fixed in newly released version 0.3.1 |
as with release aquamarine 0.3.1 this issue has been solved |
When used in in a sub-crate of a larger workspace, when running
cargo test
a file is created:instead of expected
./target/doc/mermaid.min.js
for the whole workspace.Seems to be caused by:
aquamarine/src/attrs.rs
Line 140 in 636675b
Possibly
CARGO_TARGET_DIR
should be used instead as per https://doc.rust-lang.org/cargo/reference/environment-variables.html ?The text was updated successfully, but these errors were encountered: