diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-22 23:40:47 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-22 23:40:47 +0900 |
| commit | 99ef82a9807578c1e5749156a027949efaba75c4 (patch) | |
| tree | e5f6bfb4c74c1ced20a9bc1c884f811f582e38eb /crates/shirabe/src/util/error_handler.rs | |
| parent | ffd3e239a56172d2a336fb4d6253c01f6b1a0100 (diff) | |
| download | php-shirabe-99ef82a9807578c1e5749156a027949efaba75c4.tar.gz php-shirabe-99ef82a9807578c1e5749156a027949efaba75c4.tar.zst php-shirabe-99ef82a9807578c1e5749156a027949efaba75c4.zip | |
feat(json): resolve bundled Composer schema files via build.rs
JsonFile's schema paths previously relied on php_dir() (__DIR__), which has
no runtime equivalent. Add a build.rs that copies composer-schema.json and
composer-lock-schema.json next to the built executable, and resolve them with
std::env::current_exe(). FilesystemRepository now embeds InstalledVersions.php
directly via include_str! instead of reading it through php_dir().
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/error_handler.rs')
0 files changed, 0 insertions, 0 deletions
