Handle PR comments

This commit is contained in:
Sander Declerck 2025-12-03 10:06:58 +01:00
parent 31a14a3f1b
commit 4139275b76
No known key found for this signature in database
7 changed files with 204 additions and 195 deletions

View file

@ -11,12 +11,21 @@ if (!target) {
process.exit(1);
}
(async function () {
(async function main() {
await clearOutputFolder();
// Esbuild creates a single safe-chain.cjs with all dependencies included
await bundleSafeChain();
// Copy assets that need to be included in the binary
// - All shell scripts that are used to setup safe-chain
// - Certifi because it contains static root certs for Python
// - Package.json for its metadata (package name, version, ...)
await copyShellScripts();
await copyCertifi();
await copyAndModifyPackageJson();
// Creates a single binary with safe-chain.cjs and the copied assets
await buildSafeChainBinary(target);
})();