diff --git a/.gitignore b/.gitignore index a4fc2d6..3c4b1cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,5 @@ target/ /Cargo.lock -dev_docs/diagrams -crates/oq3_syntax/examples/oq3_source -crates/oq3_syntax/examples/hideold -organization.md -parser_design.md -restorenodes.sh -restorgenerated.sh crates/parser/src/syntax_kind/_syntax_kind_enum.rs crates/oq3_syntax/src/ast/generated/_new_nodes.rs crates/oq3_syntax/src/ast/generated/_new_tokens.rs -.venv/ -.venvs/ -.env/ -.envs/ -.ackrc diff --git a/local_CI.sh b/local_CI.sh new file mode 100755 index 0000000..81c99c0 --- /dev/null +++ b/local_CI.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +# Run locally the same checks that are done remotely in CI +# Works on linux, and maybe Mac OS. + +cargo fmt --all -- --check && cargo build --verbose && cargo clippy -- -D warnings && cargo test --verbose -- --skip sourcegen_ast --skip sourcegen_ast_nodes diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e9fb493..ba6b123 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -3,8 +3,6 @@ # Copyright contributors to the openqasm-parser project -# FIXME: Our min required version is > than 1.64.0 - channel = "1.70.0" components = [ "cargo",