From 1d91a8b887ad0fd8a6797a2ecd060eb797828ea1 Mon Sep 17 00:00:00 2001 From: Shahar Yakir Date: Sun, 19 Jun 2022 10:26:36 +0300 Subject: [PATCH 1/2] - --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a72739..3e23294 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Alternatively, you can ignore the above requirements and develop right inside a * Resulting build artifacts include: * `mycontract.merged.fc` - merged and flattened FunC source code with all imports * `mycontract.fif` - Fift file result of compilation (not very useful by itself) - * `mycontract.cell` - the binary code cell of the compiled contract (for deployment) + * `mycontract.compiled.json` - the binary code cell of the compiled contract (for deployment). Saved in a hex format within a json file to support webapp imports * Test * In the root repo dir, run in terminal `npm run test` From 71f56fdb44673b7790f87c93b4c3255ab201facd Mon Sep 17 00:00:00 2001 From: Shahar Yakir Date: Sun, 19 Jun 2022 10:40:43 +0300 Subject: [PATCH 2/2] - --- README.md | 1 - build/_build.ts | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 3e23294..6ce421f 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,6 @@ Alternatively, you can ignore the above requirements and develop right inside a * In the root repo dir, run in terminal `npm run build` * Compilation errors will appear on screen * Resulting build artifacts include: - * `mycontract.merged.fc` - merged and flattened FunC source code with all imports * `mycontract.fif` - Fift file result of compilation (not very useful by itself) * `mycontract.compiled.json` - the binary code cell of the compiled contract (for deployment). Saved in a hex format within a json file to support webapp imports diff --git a/build/_build.ts b/build/_build.ts index f379f09..7e745f0 100644 --- a/build/_build.ts +++ b/build/_build.ts @@ -140,10 +140,8 @@ async function main() { // make sure cell build artifact was created if (!fs.existsSync(cellArtifact)) { - console.log(` - For some reason '${cellArtifact}' was not created!`); + console.log(` - For some reason, intermediary file '${cellArtifact}' was not created!`); process.exit(1); - } else { - console.log(` - Build artifact created '${cellArtifact}'`); } fs.writeFileSync(