Skip to content

Commit

Permalink
feat: update move-analyzer download source to starcoin/move
Browse files Browse the repository at this point in the history
  • Loading branch information
yubing744 committed Oct 26, 2022
1 parent d5ef23a commit 51c9bea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@

This is the repository for [the Starcoin IDE](https://marketplace.visualstudio.com/items?itemName=starcoinorg.starcoin-ide).


## Available commands

This extension wraps around Starcoin's `mpm` and provides quick access to the folllowing commands:

- Starcoin: Build - `mpm package build` - runs build in the current project
- Starcoin: Unit Test - `mpm package test` - runs unit tests in the current project
- Starcoin: Integration Test - `mpm integration-test` - runs integration tests in the current project
- Starcoin: Publish - `mpm sandbox publish` - Publish the resulting bytecodes on the `storage/` directories
- Starcoin: Doctor - `mpm sandbox doctor` - Run well-formedness checks on the `storage/` directories
- Starcoin: Check Compatibility - `mpm check-compatibility` - Check compatibility of the current project's modules comparing with remote chain state
- Starcoin: Release - `mpm release` - release the package to `release/` directories
- Starcoin: Clean - cleans project's default `storage/`,`build/` and `release/` directories

To run any of these commands, use [VSCode's command palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette),
or right-click the Move.toml and select the command Run from the context menu that appears,
or right-click the Move file in the source folder to run unit tests,
or right-click the Move file in the integration tests folder to run integration tests.
or right-click the Move file in the integration tests folder to run integration tests or update integration test baseline.

## Syntax highlighting

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "starcoin-ide",
"version": "0.7.7-alpha",
"version": "0.7.8-alpha",
"description": "Starcoin IDE for VSCode",
"publisher": "starcoinorg",
"displayName": "Starcoin IDE",
Expand Down
4 changes: 2 additions & 2 deletions src/download/move_analyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class MoveAnalyzerDownloader {
}

get latestStableVersion(): string {
return 'v0.1.1';
return 'v0.2.3';
}

get executatePath(): string {
Expand Down Expand Up @@ -62,7 +62,7 @@ export class MoveAnalyzerDownloader {
}

async checkRelease(version: string): Promise<any> {
return checkNewRelease(this, 'yubing744/starcoin-move', version, 'move');
return checkNewRelease(this, 'starcoinorg/move', version, 'move');
}

isBinaryOutdated(latest: string): boolean {
Expand Down

0 comments on commit 51c9bea

Please sign in to comment.