Skip to content

Commit

Permalink
deployForChainSpec now also includes output directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
SurfingNerd committed Oct 13, 2024
1 parent 87bcf96 commit 4027b78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/deployForChainSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ async function compileProxy() {
constructor: proxyDeployTX.data
};

if (!fs.existsSync("out")) {
fs.mkdirSync("out");
}

fs.writeFileSync("out/spec_dao.json", JSON.stringify(spec));
//spec[]

Expand Down

0 comments on commit 4027b78

Please sign in to comment.