Skip to content

Commit

Permalink
Install SDK from Agoric SDK community branch 🩹
Browse files Browse the repository at this point in the history
  • Loading branch information
danBamikiya committed Oct 8, 2022
1 parent eff46cf commit 885fc42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class AgoricTerminal {

private sdkDirName = 'agoric-sdk'
private sdkRepo = 'https://github.com/Agoric/agoric-sdk'
private sdkRepoBranch = 'community-dev'

constructor(private title: string, private loggingService: ILogger) {
this.onExited = this.onExitedEmitter.event
Expand Down Expand Up @@ -105,7 +106,9 @@ export class AgoricTerminal {
}

this.loggingService.log('Installing and setting up agoric-sdk...')
this.consoleTerminal?.sendText(`git clone ${this.sdkRepo}`)
this.consoleTerminal?.sendText(
`git clone -b ${this.sdkRepoBranch} ${this.sdkRepo}`
)

this.consoleTerminal?.sendText(`cd ${this.sdkDirName}`)

Expand Down

0 comments on commit 885fc42

Please sign in to comment.