Skip to content

Commit

Permalink
feat(a3p): sdk-generate any builder script
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Mar 15, 2024
1 parent 07c7afd commit 792d0b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion a3p-integration/proposals/a:upgrade-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"coreProposals": []
},
"sdk-generate": [
"probe-zcf-bundle probe-submission"
"vats/probe-zcf-bundle.js probe-submission"
],
"type": "Software Upgrade Proposal"
},
Expand Down
2 changes: 1 addition & 1 deletion a3p-integration/proposals/b:localchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "/agoric.swingset.CoreEvalProposal",
"source": "subdir",
"sdk-generate": [
"test-localchain"
"vats/test-localchain.js"
]
},
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions a3p-integration/scripts/generate-a3p-submission.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ sdkroot=$(git rev-parse --show-toplevel)
cd "$sdkroot"

a3pProposalDir=$1
proposalName=$2
builderScript=$2
submissionDirName=${3:-submission}
submissionDir="./a3p-integration/$a3pProposalDir/$submissionDirName"

yarn agoric run "packages/builders/scripts/vats/$proposalName.js"
yarn agoric run "packages/builders/scripts/$builderScript"
mkdir -p "$submissionDir"

plans=*-plan.json
Expand Down

0 comments on commit 792d0b5

Please sign in to comment.