Read project config from data/ (decomp.json, compile.json, toolchain.lock.json)

This commit is contained in:
ragnarok-clanker 2026-10-27 15:41:06 +01:00
commit 91c799f7d3
13 changed files with 20 additions and 20 deletions

View file

@ -119,7 +119,7 @@ test('public info, symbol snapshot, and the target is not served by default', as
test('the repository can be cloned over HTTP but not pushed to', async () => {
const dest = path.join(dataDir, 'clone');
await promisify(execFile)("git", ["clone", "-q", `${base}/repo.git`, dest]);
assert.ok(fs.existsSync(path.join(dest, 'decomp.json')));
assert.ok(fs.existsSync(path.join(dest, 'data', 'decomp.json')));
const res = await fetch(`${base}/repo.git/info/refs?service=git-receive-pack`);
assert.equal(res.status, 403);
});