Skip to content

Commit 89bbe6d

Browse files
committed
test(ios): stub generated file list helper
1 parent 833dee6 commit 89bbe6d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎test/scripts/ios-run.test.ts‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ if [[ -n "\${OPENCLAW_SIMULATOR_PUSH_PROOF_SECRET:-}" || -n "\${CUSTOM_SIMULATOR
5353
fi
5454
`,
5555
);
56+
writeFileSync(
57+
path.join(scriptsDir, "ios-write-swift-filelist.mjs"),
58+
`import { appendFileSync } from "node:fs";
59+
if (process.env.OPENCLAW_SIMULATOR_PUSH_PROOF_SECRET || process.env.CUSTOM_SIMULATOR_PUSH_PROOF_SECRET) {
60+
appendFileSync(${JSON.stringify(logFile)}, "write-swift-filelist-proof-env leaked\\n");
61+
}
62+
appendFileSync(${JSON.stringify(logFile)}, "write-swift-filelist\\n");
63+
`,
64+
"utf8",
65+
);
5666
writeExecutable(
5767
path.join(binDir, "xcodegen"),
5868
`#!/usr/bin/env bash

0 commit comments

Comments
 (0)