build: update version (v0.0.17)

This commit is contained in:
Shunsuke Shibayama 2023-04-01 22:09:06 +09:00
parent d67445f269
commit ca1a7477c3
7 changed files with 23 additions and 21 deletions

24
Cargo.lock generated
View File

@ -252,9 +252,9 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]]
name = "els"
version = "0.1.21-nightly.2"
version = "0.1.22-nightly.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33ee5974e3be6b45da3325161134bd66301e6294c19a4ab9316ecd5075bb68c4"
checksum = "8e5349f1ea94b0adc10294d68c4da21234379581817fff364af8a0852ee383b4"
dependencies = [
"erg_common",
"erg_compiler",
@ -274,9 +274,9 @@ dependencies = [
[[package]]
name = "erg_common"
version = "0.6.9-nightly.2"
version = "0.6.10-nightly.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd4554a4e4ff72596bbdc3765defe61cc9ac1a42ef591bd4a2d75d1b0019529e"
checksum = "7ecced2fa56385edba2e88e1b1427a1be2b7c80866891b874042b71af2225361"
dependencies = [
"backtrace-on-stack-overflow",
"hermit-abi",
@ -286,9 +286,9 @@ dependencies = [
[[package]]
name = "erg_compiler"
version = "0.6.9-nightly.2"
version = "0.6.10-nightly.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6a7ba0ce5cb29487bca4f512b274719ca69a33b0806baff05a75cb38c70bc7d"
checksum = "8f9c2cef43486126e94ef0abc632d48ce2a1d5724bb3d62ede92de84c05b01d6"
dependencies = [
"erg_common",
"erg_parser",
@ -296,9 +296,9 @@ dependencies = [
[[package]]
name = "erg_parser"
version = "0.6.9-nightly.2"
version = "0.6.10-nightly.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a114df521d494e1b5fb650fed3186f722f196a4f048c33d7ddb1bb78064b51b"
checksum = "888b847079997988bee3493014ca1641bd0068a6ab9f0fc3d42dd55c2d7f6ff0"
dependencies = [
"erg_common",
"unicode-xid 0.2.4",
@ -602,7 +602,7 @@ dependencies = [
[[package]]
name = "py2erg"
version = "0.0.16"
version = "0.0.17"
dependencies = [
"erg_common",
"erg_compiler",
@ -611,7 +611,7 @@ dependencies = [
[[package]]
name = "pylyzer"
version = "0.0.16"
version = "0.0.17"
dependencies = [
"els",
"erg_common",
@ -920,9 +920,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "syn"
version = "2.0.11"
version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21e3787bb71465627110e7d87ed4faaa36c1f61042ee67badb9e2ef173accc40"
checksum = "79d9531f94112cfc3e4c8f5f02cb2b58f72c97b7efd85f70203cc6d8efda5927"
dependencies = [
"proc-macro2",
"quote",

View File

@ -15,16 +15,16 @@ members = [
]
[workspace.package]
version = "0.0.16"
version = "0.0.17"
authors = ["Shunsuke Shibayama <sbym1346@gmail.com>"]
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/mtshiba/pylyzer"
[workspace.dependencies]
erg_common = { version = "0.6.9-nightly.2", features = ["py_compat", "els"] }
erg_compiler = { version = "0.6.9-nightly.2", features = ["py_compat", "els"] }
els = { version = "0.1.21-nightly.2", features = ["py_compat"] }
erg_common = { version = "0.6.10-nightly.0", features = ["py_compat", "els"] }
erg_compiler = { version = "0.6.10-nightly.0", features = ["py_compat", "els"] }
els = { version = "0.1.22-nightly.0", features = ["py_compat"] }
rustpython-parser = "0.1.2"
# erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat", "els"] }
# erg_common = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat", "els"] }
@ -44,7 +44,7 @@ erg_compiler = { workspace = true }
erg_common = { workspace = true }
els = { workspace = true }
rustpython-parser = { workspace = true }
py2erg = { version = "0.0.16", path = "./crates/py2erg" }
py2erg = { version = "0.0.17", path = "./crates/py2erg" }
[lib]
path = "src/lib.rs"

View File

@ -1,5 +1,7 @@
# pylyzer ⚡
![pylyzer_logo_with_letters](https://raw.githubusercontent.com/mtshiba/pylyzer/main/images/pylyzer-logo-with-letters.png)
<a href="https://marketplace.visualstudio.com/items?itemName=pylyzer.pylyzer" target="_blank" rel="noreferrer noopener nofollow"><img src="https://img.shields.io/visual-studio-marketplace/v/pylyzer.pylyzer?style=flat&amp;label=VS%20Marketplace&amp;logo=visual-studio-code" alt="vsm-version"></a>
<a href="https://github.com/mtshiba/pylyzer/releases"><img alt="Build status" src="https://img.shields.io/github/v/release/mtshiba/pylyzer.svg"></a>
<a href="https://github.com/mtshiba/pylyzer/actions/workflows/rust.yml"><img alt="Build status" src="https://github.com/mtshiba/pylyzer/actions/workflows/rust.yml/badge.svg"></a>

View File

@ -1,6 +1,6 @@
# vscode-pylyzer
![pylyzer_logo_with_letters](https://raw.githubusercontent.com/mtshiba/pylyzer/main/images/pylyzer-logo-with-letters.svg)
![pylyzer_logo_with_letters](https://raw.githubusercontent.com/mtshiba/pylyzer/main/images/pylyzer-logo-with-letters.png)
<a href="https://marketplace.visualstudio.com/items?itemName=pylyzer.pylyzer" target="_blank" rel="noreferrer noopener nofollow"><img src="https://img.shields.io/visual-studio-marketplace/v/pylyzer.pylyzer?style=flat&amp;label=VS%20Marketplace&amp;logo=visual-studio-code" alt="vsm-version"></a>
<a href="https://github.com/mtshiba/pylyzer/releases"><img alt="Build status" src="https://img.shields.io/github/v/release/mtshiba/pylyzer.svg"></a>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/mtshiba/pylyzer.git"
},
"icon": "../images/pylyzer-logo.png",
"icon": "images/pylyzer-logo.png",
"main": "./dist/extension.js",
"activationEvents": [
"onLanguage:python"

View File

@ -2,7 +2,7 @@ use erg_common::config::ErgConfig;
use erg_common::error::{ErrorCore, ErrorKind, MultiErrorDisplay};
use erg_common::style::colors::{BLUE, GREEN, RED, YELLOW};
use erg_common::style::RESET;
use erg_common::traits::{Runnable, Stream};
use erg_common::traits::{ExitStatus, Runnable, Stream};
use erg_common::Str;
use erg_compiler::artifact::{BuildRunnable, Buildable, CompleteArtifact, IncompleteArtifact};
use erg_compiler::context::ModuleContext;
@ -50,7 +50,7 @@ impl Runnable for PythonAnalyzer {
fn eval(&mut self, src: String) -> Result<String, Self::Errs> {
self.checker.eval(src)
}
fn exec(&mut self) -> Result<i32, Self::Errs> {
fn exec(&mut self) -> Result<ExitStatus, Self::Errs> {
self.checker.exec()
}
}