Add linter stub

This commit is contained in:
howardwu 2020-08-02 18:06:21 -07:00
parent 6b20a17376
commit 77f443b672
4 changed files with 15 additions and 1 deletions

4
Cargo.lock generated
View File

@ -649,6 +649,10 @@ dependencies = [
"thiserror",
]
[[package]]
name = "leo-linter"
version = "0.1.0"
[[package]]
name = "leo-types"
version = "0.1.0"

View File

@ -13,7 +13,7 @@ name = "leo"
path = "leo/main.rs"
[workspace]
members = [ "ast", "compiler", "gadgets", "leo-inputs", "types" ]
members = [ "ast", "compiler", "gadgets", "leo-inputs", "linter", "types" ]
[dependencies]
leo-compiler = { path = "compiler", version = "0.1.0" }

7
linter/Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "leo-linter"
version = "0.1.0"
authors = ["The Aleo Team <hello@aleo.org>"]
edition = "2018"
[dependencies]

3
linter/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}