aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/advisory
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-25 22:33:35 +0900
committernsfisis <nsfisis@gmail.com>2026-07-25 22:33:35 +0900
commit2760e7e466fcf581d67cc2574241a824fbe158ff (patch)
tree8890233bcde7bc0eebafebd53e865576959fa8e1 /crates/shirabe/tests/advisory
parent53f4444c5ac9cc1c14749afb7ba2c3ccd1929889 (diff)
downloadphp-shirabe-2760e7e466fcf581d67cc2574241a824fbe158ff.tar.gz
php-shirabe-2760e7e466fcf581d67cc2574241a824fbe158ff.tar.zst
php-shirabe-2760e7e466fcf581d67cc2574241a824fbe158ff.zip
refactor(json): embed Composer schemas instead of copying them to target
build.rs guessed target/<profile> from OUT_DIR to place res/*.json next to the executable (twice, since test binaries live in deps/), and JsonFile resolved them through current_exe(). That made the binary undistributable on its own. The schemas are now include_str!'d and referenced through a shirabe:///res/ URI that SchemaRetriever resolves, keeping the $ref indirection PHP uses for the phar case. The res/ path segment is required so composer-lock-schema.json's relative "./composer-schema.json" reference still resolves.
Diffstat (limited to 'crates/shirabe/tests/advisory')
0 files changed, 0 insertions, 0 deletions