feat: use cfg-based coverage exclusion to replace 'ignore-filename-regex' option, setup coveralls & nightly-based coverage

This commit is contained in:
Ryan Walters
2025-09-06 14:51:23 -05:00
parent c8f389b163
commit ca17984d98
9 changed files with 53 additions and 39 deletions

View File

@@ -1,14 +1,22 @@
//! Pac-Man game library crate.
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
#[cfg_attr(coverage_nightly, coverage(off))]
pub mod app;
pub mod asset;
#[cfg_attr(coverage_nightly, coverage(off))]
pub mod audio;
pub mod constants;
#[cfg_attr(coverage_nightly, coverage(off))]
pub mod error;
#[cfg_attr(coverage_nightly, coverage(off))]
pub mod events;
#[cfg_attr(coverage_nightly, coverage(off))]
pub mod formatter;
#[cfg_attr(coverage_nightly, coverage(off))]
pub mod platform;
pub mod asset;
pub mod constants;
pub mod game;
pub mod map;
pub mod platform;
pub mod systems;
pub mod texture;