Skip to content

Add platform checks to fail fast on non-macOS systems#28

Merged
neilberkman merged 1 commit intomainfrom
fail-fast-non-macos
Oct 30, 2025
Merged

Add platform checks to fail fast on non-macOS systems#28
neilberkman merged 1 commit intomainfrom
fail-fast-non-macos

Conversation

@neilberkman
Copy link
Owner

Fixes #27

Adds runtime platform detection to provide clear error messages instead of cryptic clipboard failures when running on non-macOS systems.

Test suite now fails early with clear message. Binaries exit immediately on non-macOS platforms.

Adds runtime platform detection to provide clear error messages when
attempting to run clippy/pasty on non-macOS systems, instead of cryptic
clipboard operation failures.

Changes:
- Test suite now panics early with clear message if not on macOS
- Clippy and pasty binaries exit immediately with helpful error on non-macOS platforms
- Prevents confusing clipboard timeout errors in Docker/Linux environments

Fixes #27
@neilberkman neilberkman merged commit dd94573 into main Oct 30, 2025
1 check passed
@neilberkman neilberkman deleted the fail-fast-non-macos branch October 30, 2025 14:26
@neilberkman neilberkman mentioned this pull request Oct 30, 2025
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.

Test failing

1 participant