Skip to content
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

Build is never clean #16

Closed
kirkeby opened this issue Jan 10, 2018 · 2 comments
Closed

Build is never clean #16

kirkeby opened this issue Jan 10, 2018 · 2 comments

Comments

@kirkeby
Copy link

kirkeby commented Jan 10, 2018

Hi,

Because of build.rs builds of log4rs-syslog are never "done" (cargo build will always build log4rs-syslog and any crate that depends on it), when you have a workspace with a bunch of crates depending on log4rs-syslog that causes a lot of build-churn.

I'm guessing skeptic writes files to tests/ marking the source-tree newer than the build it produces.

Is it possible to use skeptic without it causing build-churn like this?

/s

@im-0
Copy link
Owner

im-0 commented Jan 15, 2018

It seems that currently it is not possible to use skeptic without triggering rebuild every time, see budziq/rust-skeptic#60.

However, thanks to code examples in that issue, I was able to replace skeptic with direct run of "rustdoc --test README.md".

Fixed version 3.0.1 was just released on crates.io, so please test.

@kirkeby
Copy link
Author

kirkeby commented Jan 15, 2018

It works beautifully, thanks a lot :)

@im-0 im-0 closed this as completed Jan 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants