Skip to content

Conversation

@BrettMayson
Copy link
Owner

@BrettMayson BrettMayson commented Nov 20, 2025

Instead of using pre_build and looping over files in Rhai, defines paths with glob patterns that should be preprocessed with Rhai scripts

This will allow them to be used in hls as well

My use case was this, which doesn't work in vscode since pre_build scripts don't run there

@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 39.18919% with 90 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.1%. Comparing base (1f77b2d) to head (0f00cb8).

Files with missing lines Patch % Lines
bin/src/modules/preprocess.rs 0.0% 79 Missing ⚠️
libs/rhai/src/lib.rs 38.4% 8 Missing ⚠️
libs/common/src/config/project/mod.rs 40.0% 3 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
bin/src/context.rs 73.3% <100.0%> (+2.6%) ⬆️
bin/src/error.rs 0.0% <ø> (ø)
bin/src/modules/hook/libraries/hemtt.rs 45.7% <100.0%> (ø)
bin/src/modules/hook/mod.rs 77.7% <100.0%> (-0.2%) ⬇️
bin/src/modules/mod.rs 62.5% <100.0%> (ø)
libs/common/src/config/project/preprocess.rs 100.0% <100.0%> (ø)
libs/rhai/src/libraries/project.rs 0.0% <ø> (ø)
libs/rhai/src/libraries/rfs/file.rs 0.0% <ø> (ø)
libs/rhai/src/libraries/rfs/path.rs 0.0% <ø> (ø)
libs/rhai/src/libraries/time.rs 100.0% <ø> (ø)
... and 6 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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