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

Skip building src on non-linux targets #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jgrund
Copy link
Contributor

@jgrund jgrund commented Sep 26, 2022

This allows compilation for testing to complete on non-linux targets.

This is useful when integrating this crate into larger projects, where we still want to test locally before pushing to CI (on a macos host for instance).

Signed-off-by: Joe Grund [email protected]

This allows compilation for testing to complete on non-linux targets.

This is useful when integrating this crate into larger projects, where we
still want to test locally before pushing to CI (on a macos host for instance).

Signed-off-by: Joe Grund <[email protected]>
@jgrund jgrund force-pushed the jgrund/skip-building branch from 9e44a73 to a940877 Compare September 27, 2022 01:09
@chrissie-c
Copy link
Owner

Hi,

the test doesn't really match the commit name. If you want to skip building on non-Linux targets the the test should be for !linux rather than Mac OS. I realise it's a sematic difference but it's important to understand what's meant here.

of course, I now need to check if it runs on FreeBSD :)

@chrissie-c
Copy link
Owner

OK, it runs fine on FreeBSD

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

Successfully merging this pull request may close these issues.

2 participants