Browse Source

Merge pull request #9 from ton-defi-org/readmefix

Readmefix
master
Tal Kol 2 years ago committed by GitHub
parent
commit
c98df5669d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md
  2. 4
      build/_build.ts

3
README.md

@ -78,9 +78,8 @@ 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.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`

4
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(

Loading…
Cancel
Save