Skip to content

Commit

Permalink
feat: gen client on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ericHgorski authored and octalmage committed Sep 6, 2022
1 parent 1261486 commit ee46a79
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ export default class Deploy extends Command {
});
}

await this.config.runCommand('contract:generateClient', [
args.contract,
'--build-schema',
]);

if (!flags['no-sync']) {
await this.config.runCommand('sync-refs', [
'--refs-path',
Expand Down

0 comments on commit ee46a79

Please sign in to comment.