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

Move src/bin/* to examples #18

Open
ignatenkobrain opened this issue Jul 7, 2019 · 2 comments
Open

Move src/bin/* to examples #18

ignatenkobrain opened this issue Jul 7, 2019 · 2 comments

Comments

@ignatenkobrain
Copy link

Is there any reason to be able to do cargo install those binaries?

@oconnor663
Copy link
Owner

Same question as in oconnor663/duct.rs#73:

I should make the tests that use these integration tests rather than unit tests, so that the binaries get built automatically and we don't need the path_to_exe hack. Anyway, I was under the impression if you wanted tests to have access to binaries, they needed to be in src/bin/. Is that wrong?

@loadenmb
Copy link

Maybe switch command on windows / nix. Depends if system env data is available here. If not just execute "/usr/bin/sleep" if stderr it is a Windows system. For Windows we can execute:
timeout /T 10 /nobreak
It's to simple. So I'm not sure if I overlooked a important point.

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

3 participants